affordit Posted February 4, 2008 Share Posted February 4, 2008 Can anyone tell me why my pics don't show I just get the place holder, here is the code // PROCESS CONTENTS OF $RESULTS print "<table width='0' align='center'><tr>"; while ($info = mysql_fetch_array($result)) { print "<td width='0' ALIGN='CENTER'>"; echo $info['heading']; echo "<BR>"; echo $info['picture']; echo "<BR>"; echo $info['description']; echo"<BR></td>"; } echo"</tr>"; This is how it is stored in the DB <img src=graphics/ba_3.gif height=100 width=100> Quote Link to comment https://forums.phpfreaks.com/topic/89381-solved-images-wont-show/ Share on other sites More sharing options...
trq Posted February 4, 2008 Share Posted February 4, 2008 Its invalid html for starters. <img src='graphics/ba_3.gif' height='100' width='100'> is that showing up in your html source? Quote Link to comment https://forums.phpfreaks.com/topic/89381-solved-images-wont-show/#findComment-457685 Share on other sites More sharing options...
affordit Posted February 4, 2008 Author Share Posted February 4, 2008 Th is what shows up sorry I forgot the " <img src="graphics/ba_5pic.gif" width=100 height=100> Quote Link to comment https://forums.phpfreaks.com/topic/89381-solved-images-wont-show/#findComment-457688 Share on other sites More sharing options...
revraz Posted February 4, 2008 Share Posted February 4, 2008 so is that path valid from where the script is ran? Quote Link to comment https://forums.phpfreaks.com/topic/89381-solved-images-wont-show/#findComment-457694 Share on other sites More sharing options...
affordit Posted February 4, 2008 Author Share Posted February 4, 2008 Yes the path is right but the name was wrong thanks guys sorry for wasting your time!! Quote Link to comment https://forums.phpfreaks.com/topic/89381-solved-images-wont-show/#findComment-457698 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.