Little problem with UCP
#1

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??
Reply
#2

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

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..
Reply
#4

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

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
?>
Reply
#6

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

Show directory structure.
Reply
#8

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


Forum Jump:


Users browsing this thread: 1 Guest(s)