Can anyone help,
I am trying to run this query:
$query = \"SELECT $table_basket.PROD_ID, PROD_CODE, PROD_DESC, PROD_PRICE, QUANTITY
FROM $table_basket, $table_products, $table_users
WHERE $table_basket.PROD_ID = $table_products.PROD_ID
AND $table_basket.CUST_ID = $table_users.CUST_ID
AND $table_users.USERNAME = \\"$User\\"\";
but keep getting this error:
Error: Column: \'PROD_CODE\' in field list is ambiguous
Does anyone know what this means?
Cheers
Foggy