Bad syntax on MySQL query <p>it says unexpected "="... What should I rewrite? Thanks</p> <pre><code>$result = mysql_query("SELECT * FROM soubory, users WHERE id='".$id."'" AND soubory.users_id = users.id ); </code></pre>