HI guys,
Everytime I run my php code I get this error message:
This is my code:
$query = mysql_query("SELECT * FROM Products WHERE cat='Skate' AND subcat='Footwear' LIMIT $start, $limit_img ");
//end of query
$limit_img = 24;
$start = 0;
$cols = 3;
$cols_td = 0;
//end of table variables
$images = $row['photo'];
$product = $row['product'];
$price = $row['price'];
//end of row variables
echo "<table width='95%'><tr>";
//end of table
while ($row = mysql_fetch_array($query)){
echo "<td><div align='center'>$row[product]</div></td>";
$cols_td = $col_td + 1;
if($cols_td == $cols){
echo "</tr><tr>";
$cols_td = 0;
}
}
//end of while statement
echo "</tr></table>";
Thanks In advance!