quando tento di far girare questo script dove cart_userID è un campo int ricevo sempre l'errore sotto riportato anche se l'utente 46 ha due prodotti nel carrello?
$userID=46;
$s = "SELECT cart_id,cart_quantity,cart_userID FROM cart WHERE cart_userID='$userID'";
$res=mysql_query($s,$con);
$cart = mysql_fetch_array($res);
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
grazie