I am fairly new at PHP and need help wit this attached is my code, it pick up that there is an image but doe not display it. your help would bemuch appreciated
Code:
<?php
$conn = mysql_connect('localhost','****','****') or die("Could not do it");
$rs = mysql_select_db("db name") or die("wheres the DB");
$sql ="SELECT Model FROM handsets WHERE Brand = 'Brand'";
$result = mysql_query($sql);
while( $row=mysql_fetch_array($result))
{
$Model = $row['Model'];
$image = $row['Image'];
echo "<img src=\"http://bytes.com/images/$image\" width=\"30px\" height=\"100%\" align=\"absmiddle\"><input name=\"Model\" type=\"checkbox\" value='$Model' />$Model<br>";
}
?>
Comment