masterloney Posted April 4, 2008 Share Posted April 4, 2008 how do i use php to display images {keepin in mind im a noob...} thnx Link to comment https://forums.phpfreaks.com/topic/99608-dispayin-images/ Share on other sites More sharing options...
graham23s Posted April 4, 2008 Share Posted April 4, 2008 Hi Mate, are they coming from a database? Graham Link to comment https://forums.phpfreaks.com/topic/99608-dispayin-images/#findComment-509581 Share on other sites More sharing options...
sargosis Posted April 4, 2008 Share Posted April 4, 2008 one of the most basic ways to post an image in php is as follows: echo "<img src=\"your_image_name_here.jpg\" border=\"0\">; this will simply post your image without a border (assuming it's a jpg). Naturally, adjust the name and filetype of your image as desired. Link to comment https://forums.phpfreaks.com/topic/99608-dispayin-images/#findComment-509586 Share on other sites More sharing options...
Coreye Posted April 4, 2008 Share Posted April 4, 2008 echo "<img src=\"your_image_name_here.jpg\" border=\"0\">; Would actually be echo "<img src=\"your_image_name_here.jpg\" border=\"0\">"; You forgot the ending quote mark. Link to comment https://forums.phpfreaks.com/topic/99608-dispayin-images/#findComment-509587 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.