jonw118 Posted December 19, 2008 Share Posted December 19, 2008 Hi there, currently my script has: <? $sql="select thumb from inputinfo where id='$id'"; $rez=mysql_query($sql,$dblnk); $row=mysql_fetch_array($rez); echo $row['thumb']; ?> But that just prints out the URL to the image. I want it to display the image. Here's what I tried, but no-go. I'd appreciate any help... <? $sql="select thumb from inputinfo where id='$id'"; $rez=mysql_query($sql,$dblnk); $row=mysql_fetch_array($rez); echo $row[admin/<? echo $row[thumb];?>]; ?> Quote Link to comment Share on other sites More sharing options...
.josh Posted December 19, 2008 Share Posted December 19, 2008 echo "<img src='{$row['thumb']}' />"; Quote Link to comment 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.