hey
i have two tables in a database that i will like to join in the below code, but i cant. i can only use one table at a time.
$result = mysql_query("SELECT name,price from products WHERE itemid = '$id'",$cxn) or die ("Unable to retrieve information from database");
if i put the below code in then i get the die error message.
$result = mysql_query("SELECT name,price from products,discount WHERE itemid = '$id'",$cxn) or die ("Unable to retrieve information from database");
any ideas on how i can use both tables in the same query
regards
foad