//get product ID for just entered item $sqlgetid= "select product_id from jos_vm_product where product_sku=$sku"; $productid=mysql_query($sqlgetid) or die ("FAILED2");
Can anyone tell my why this is failing?
I am entering items into a database, with product_id being automatically assigned. the line above this one works and enters them like needed into the DB, but this one fails. I need to store the product id (ex: 1567) in $productid.
Thanks for any help!