Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 19 Pomógł: 1 Dołączył: 22.01.2011 Ostrzeżenie: (0%)
|
Witam, mam taki oto kod:
No i moje pytanie jest mysle proste - gdzie w tym zapytaniu jest blad? Takie oto cudo otrzymuje w nagrode: 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 '' at line 1 Z gory dziekuje za pomoc Ten post edytował Zikerus 31.01.2011, 23:44:12 |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 1 374 Pomógł: 149 Dołączył: 1.03.2006 Ostrzeżenie: (0%)
|
A tak próbowałeś:
$q_new = "INSERT INTO `inbox_messages` (`sender_id`, `recipient_id`, `topic`, `message`) VALUES ('".$_SESSION['id']."','".$recp['id']."','".$_POST['topic']."','".$_POST['message']."'"; |
|
|
|
Zikerus Zapytanie MySQL, gdzie jest blad? 31.01.2011, 23:43:18
Zikerus You have an error in your SQL syntax; check the ma... 31.01.2011, 23:57:37 ![]() ![]() |
|
Aktualny czas: 28.12.2025 - 16:43 |