Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP][MySQL]Zapytanie błąd...
spayk
post 11.12.2011, 01:08:29
Post #1





Grupa: Zarejestrowani
Postów: 364
Pomógł: 3
Dołączył: 29.11.2008

Ostrzeżenie: (0%)
-----


  1. $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
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 04:38