$sql = mysql_query("SELECT post.*, time_posting.* FROM post LEFT JOIN time_posting ON post.id=time_posting.id_post WHERE time_posting.time < time() AND time_posting.id_user = '$id' ") or die(mysql_error());
AJk ibłąd jest w powyższym zapytaniu ?
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 ') AND time_posting.id_user = '1'' at line 1