$query = \"
SELECT Order.`Order Number`, Person.`Email Address`
FROM `Order`, Person
WHERE Order.InvoiceContactID = Person.ContactID
AND Person.`Email Address`='{$sqlemail}'
AND Order.`Order Number`='{$sqlpass}'
\";
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Order.`Order Number`, Person.`Email Address` FROM `Order`, Person WHERE Order.' at line 1
Darren said:Thats exactly wht i was thinking :D
It looks like you're new here. Click the social buttons to create your account or sign in.