Ok, I've been staring at this long enough and I've searched and can't figure out where my problem is. This is the error code I am getting:
And here is the code it is referencing to. I know this because of how it loads differently when I take the "or die" out of the code.
Any help will, as always, be greatly greatly appreciated!!
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' City Sport 50='', =''' at line 1
And here is the code it is referencing to. I know this because of how it loads differently when I take the "or die" out of the code.
Code:
// Check if this item already exists in the users cart table
$result = mysql_query("select count(*) from cart where cookieId = '" . GetCartId() . "', $prod_name='$row[prod_name]', $item_desc='$row[item_desc]'") or die(mysql_error());
$row = mysql_fetch_row($result);
$numRows = $row[0];
Any help will, as always, be greatly greatly appreciated!!