![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 102 Pomógł: 3 Dołączył: 22.04.2006 Ostrzeżenie: (0%) ![]() ![]() |
Witam nie rozumiem co się dzieje
Jeżeli całośc wpiszemy ręcznie DZIAŁA Jeżeli treść zapytania wyglądała by tak ('SELECT :ID FROM test LIMIT 2,2'); DZIAŁA Ale kod poniższy nie działa (IMG:style_emoticons/default/sad.gif)
|
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 102 Pomógł: 3 Dołączył: 22.04.2006 Ostrzeżenie: (0%) ![]() ![]() |
ZAMIENIŁEM ale niestety nadal występuje błąd (IMG:style_emoticons/default/sad.gif)
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 ''2',2' at line 1' in D:\Program Files\xampp\xampp\htdocs\obiektowo\test2.php:7 Stack trace: #0 D:\Program Files\xampp\xampp\htdocs\obiektowo\test2.php(7): PDOStatement->execute(Array) #1 {main} thrown in D:\Program Files\xampp\xampp\htdocs\test2.php on line 7
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 13.10.2025 - 19:43 |