Hi
Please see code below, when I query my db I am getting an unefined variable issue, any ideas?
I am quiet new to PHP so please help.
mysql_connect("localhost","root","");
mysql_select_db("db");
$id = intval($_GET['id']);
$res = "SELECT * FROM table WHERE id=$id";
echo "<table>";
echo "<tr>";
echo "<td>"; echo "<h4>".$row['item']."</h4>"; echo "</td>"; echo "</tr>";
echo "<td>";?> <img src ="<?php echo $row['image']; ?>" height ="100" width ="100"> <?php echo "</td>";
echo "</tr>";
echo "<td>"; echo $row['description']; echo "</td>"; echo "</tr>";
echo "<td>"; echo $row['price']; echo "</td>";
echo "</tr>";
echo"</table>";
?>