SA-MP Forums Archive
Little problem with UCP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Little problem with UCP (/showthread.php?tid=359529)



Little problem with UCP - Sanady - 14.07.2012

Hello guys.I made pictures today for my new UCP.And I need help.

code
PHP код:
echo "<a href='changepass.html'><img src='image/changepass.png'></img></a>"//Links to the change password page. 
                    
echo "<a href='stats.html'><img src='image/otherstats.png'></img></a><br />"//Links to the stats page. 
                    
echo "<a href='logout.php'><img src='image/logout.png'></img></a><br />"//Links to the logout page 
It`s php but can someone why those pictures don`t want to show??


Re: Little problem with UCP - Nitro-Serve.com - 14.07.2012

Код HTML:
<img src="link to image" />



Re: Little problem with UCP - Sanady - 14.07.2012

Quote:
Originally Posted by Nitro-Serve.com
Посмотреть сообщение
Код HTML:
<img src="link to image" />
Yes.How you see I have folder with my pictures.So..I want to load that pictures from the folder.I am using tag <img> but It don`t want to load pictures. I don`t know why..


Re: Little problem with UCP - Nitro-Serve.com - 14.07.2012

Код HTML:
<img src='image/changepass.png'></img>
Код HTML:
<img src='images/changepass.png' />
...


Re: Little problem with UCP - Vince - 14.07.2012

Better close the php tags first if you intend to display a lot of static HTML. You can do like:
PHP код:
<?php
    
// bunch of code
?>
<a href="#" ... >A link</a>
<?php
    
// more code
?>



Re: Little problem with UCP - Sanady - 14.07.2012

Quote:
Originally Posted by Nitro-Serve.com
Посмотреть сообщение
Код HTML:
<img src='image/changepass.png'></img>
Код HTML:
<img src='images/changepass.png' />
...
Sitll not showing


Re: Little problem with UCP - Vince - 14.07.2012

Show directory structure.


Re: Little problem with UCP - Potassium - 14.07.2012

Quote:
Originally Posted by Sanady
Посмотреть сообщение
Sitll not showing
You changed your code to what Nitro said?