Hello.
I have gone through various checks, and I can't seem to figure this one out...
while($row_sizes = mysql_fetch_array($sql_sizes));
{
$sizes = $row_sizes['size'];
$product_list .= count($sizes);
$product_list .= "<li>".$sizes."</li>";
}
Its not outputting any sizes. However, my count($sizes) outputs 0. And that shouldn't because I have
$sql_colors = mysql_query("SELECT * FROM colors WHERE $id = product_id");
$sql_sizes = mysql_query("SELECT * FROM size WHERE $id = product_id");
while($row_colors = mysql_fetch_array($sql_colors))
{
$colors = $row_colors['color'];
$product_list .= "<li>".$colors."</li>";
}
And the color portion in my code works! But not the size!? Its exactly the same coding, but just had different words?
Can someone help me detect what I'm missing?
Thanks