hi
ive posted a couple of posts recently about this problem and i have made progress but im still having trouble.
Im trying to make the products listed at:
http://www.bluetipdvd.co.uk/index.php
be a link that opens a new window to display details about that particular product.
If you click on the links you will see that address of the new smaller window is based on the product ID but there is an error message.
please help
thanks
simon
the unexpected T_VARIABLE is coming from this line
$sql= "SELECT name, longdescription, ID, price FROM products WHERE ID = $ID";
an the code for that page is:
<body>
<?php include "vsadmin/db_conn_open.php";
$ID = $_GET['ID']
$sql= "SELECT name, longdescription, ID, price FROM products WHERE ID = $ID";
$result=mysql_query($query);
$num=mysql_num_rows($result);
mysql_close();
?>
<table width="100%" height="59" border="0" cellpadding="1" cellspacing="1">
<tr>
<td><? echo "$ID"?> </td><td><? echo "$name"?></td><td><? echo "$longdescription"?></td>
</tr>
</table>
</body>
</html>