Hi,sorry to trouble you people with my nOOb problems, i have only just started to try and learn this stuff, so thanks for any help in advance. All i want to do (at present) is pull images out of a folder using the image_name that is stored in the db, i dont know what 2 use for this, but this doesnt work and i have no idea why....
<?php
$db = mysql_connect("localhost", "root");
mysql_select_db("antiques",$db);
$result = mysql_query("SELECT image_name FROM general ");
while ($row = mysql_fetch_assoc($result)) {
extract($row);
echo " <img src=\"images/"$image_name."\">\n";
?>