0) { $row = mysql_fetch_array($result, MYSQL_ASSOC); $image_id = $row["image"]; $result = mysql_query("SELECT * FROM image WHERE id = $image_id") or die(mysql_error()); if (mysql_num_rows($result) > 0) { $image = mysql_fetch_array($result, MYSQL_ASSOC); $image_html = ''; } ?>