claire Posted June 19, 2007 Share Posted June 19, 2007 why images from my database not apparing on my pagethe discription is tho......im puzzled ??? Quote Link to comment https://forums.phpfreaks.com/topic/56216-bwhy-images-from-my-database-not-apparing-on-my-pageb/ Share on other sites More sharing options...
claire Posted June 19, 2007 Author Share Posted June 19, 2007 excuss my spelling im gone brain dead from this Quote Link to comment https://forums.phpfreaks.com/topic/56216-bwhy-images-from-my-database-not-apparing-on-my-pageb/#findComment-277660 Share on other sites More sharing options...
Wildbug Posted June 19, 2007 Share Posted June 19, 2007 image.php $result = mysql_query('SELECT image,type FROM images WHERE id=' . $id) or die (mysql_error()); list($image,$mimetype) = mysql_fetch_row($result); header("Content-type: $mimetype"); fpassthru($image); exit; page.php <html> <body> <img src="image.php?id=1"> </body> </html> ??? Quote Link to comment https://forums.phpfreaks.com/topic/56216-bwhy-images-from-my-database-not-apparing-on-my-pageb/#findComment-277677 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.