Вот с чем я работаю:
$query = "SELECT Products.Title, Product_Lines.pl_Title, Manufacturers.man_Title". "FROM Products, Product_Lines, Manufacturers ". "WHERE Products.pl_ID = Product_Lines.pl_ID AND Product_Lines.man_ID = Manufacturers.man_ID"; $result = mysql_query($query) or die(mysql_error()); while($row = mysql_fetch_array($result)){ echo $row['Title']. " - ". $row['pl_Title']. " - ". $row['man_Title']; echo "<br />"; }
Я получаю эту ошибку:
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 'WHERE Products.pl_ID = Product_Lines.pl_ID AND Product_Lines.man_ID = Manufactur' at line 1
Я не знаком с этим методом, и эта ошибка