justAnoob Posted April 1, 2009 Share Posted April 1, 2009 A little red x appears in the where the picture should be. What's wrong? <?php mysql_connect("xxxxxxxxx","xxxxxxxxx","xxxxxxxxx"); mysql_select_db("xxxxxxxx"); $result = mysql_query("SELECT imgpath, student, description, in_return FROM xxxxxx"); while($x=mysql_fetch_array($result)) { $imgpath=$x["imgpath"]; $item_name=$x["student"]; $description=$x["description"]; $in_return=$x["in_return"]; echo "<img src='userimages/computers/'><br>"; echo " Trade Item: $item_name<br>"; echo "Description: $description<br>"; echo " Seeking: $in_return"; } ?> Link to comment https://forums.phpfreaks.com/topic/152137-solved-little-red-x-is-getting-annoying/ Share on other sites More sharing options...
Mchl Posted April 1, 2009 Share Posted April 1, 2009 There's no picture at indicated location. Check if you have correct paths (hint: you don't use the path from database at all) Link to comment https://forums.phpfreaks.com/topic/152137-solved-little-red-x-is-getting-annoying/#findComment-799020 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.