Is there any reason why this would not return anything?
list($price) = mysql_query(sprintf("select price from product where productid_FK = ".$productid"));
I have used the list function on another page and is working fine, not sure why it is not returning anything on this page.
I have outputted the sql code and ran it in mysql and it worked fine. Please note that this query is in a while loop.
Thanks
list()for?