nutt318 Posted December 27, 2007 Share Posted December 27, 2007 So I have found some picture of the day source code and I it seems to work fine but to actually display the image on my page its not working, I have the following code. Would this syntax be right? <p><img src=<?php show_image.php?>; alt="" width="200" height="145" /></p> the show_image.php page has the correct image when i go to it so I know the code is working, I just cant figure out how to then display that image. Any help would be great. Thanks, Quote Link to comment https://forums.phpfreaks.com/topic/83375-solved-picture-of-the-day-would-this-be-right/ Share on other sites More sharing options...
kenrbnsn Posted December 27, 2007 Share Posted December 27, 2007 No, you just have to use: <p><img src="show_image.php" alt="" width="200" height="145" /></p> Ken Quote Link to comment https://forums.phpfreaks.com/topic/83375-solved-picture-of-the-day-would-this-be-right/#findComment-424173 Share on other sites More sharing options...
nutt318 Posted December 27, 2007 Author Share Posted December 27, 2007 Thanks for the quick reply, that worked great. Quote Link to comment https://forums.phpfreaks.com/topic/83375-solved-picture-of-the-day-would-this-be-right/#findComment-424176 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.