Hello everyone, i cannot figure out why this query will not work. I don't know if this is a PHP question, a MySQL question, or a combonation of the both. I think that my SQL syntex is right, but i think the quotes are wrong but i can't figure out why its not working. It keeps "Dieing" when i run the query. I have noticed that some servers require you to quote your variables in your MySQL statments differently and havn't found a standard way to write it, but here is the line of code that wont work.
$sql = "SELECT `shipping.weight`, `s_address.company` FROM `shipping`, `s_address` WHERE (`shipping.said` = `s_address.said`) AND `pid` = '".$_GET['pid']."'";
$shipping_result = mysql_query($sql) or die("SQL Error: ".__LINE__);
Thanks,
Ryan