PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
ianhull
Forum Contributor
Posts: 310 Joined: Tue Jun 14, 2005 10:04 am
Location: Hull England UK
Post
by ianhull » Mon Jun 20, 2005 10:37 am
Hi Can anyone help me display a image in my page?
The image path is stored in the database.
everytime I try <?php echo $image ?> all I see is the image path
What else do i need to do?
Thanks
phpScott
DevNet Resident
Posts: 1206 Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.
Post
by phpScott » Mon Jun 20, 2005 10:44 am
you still have to use the correct html in order display the image or anything else that would require html. You know get to embed it into your php.
ianhull
Forum Contributor
Posts: 310 Joined: Tue Jun 14, 2005 10:04 am
Location: Hull England UK
Post
by ianhull » Mon Jun 20, 2005 10:51 am
Thanks for that,
I thought that it would automatically do it.
Thanks again
phpScott
DevNet Resident
Posts: 1206 Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.
Post
by phpScott » Mon Jun 20, 2005 11:28 am
nope!
php is php, html is html.
use php to create html