![]() |
![]() |
![]() ![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 105 Pomógł: 0 Dołączył: 17.09.2014 Skąd: Kraków Ostrzeżenie: (0%) ![]() ![]() |
Mógłby mi ktoś wyjaśnić, co oznacza ten błąd?
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 'FROM users WHERE 'login'='asdfasdf'' at line 1' in C:\WebServ\httpd\startuj\templates\include\reg.php:31 Stack trace: #0 C:\WebServ\httpd\startuj\templates\include\reg.php(31): PDOStatement->execute() #1 {main} thrown in C:\WebServ\httpd\startuj\templates\include\reg.php on line 31 dołączam fragment kodu, który wydaje się być za to odpowiedzialny...
|
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 8 068 Pomógł: 1414 Dołączył: 26.10.2005 Ostrzeżenie: (0%) ![]() ![]() |
Kod SELECT FROM A co Select? |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 1 421 Pomógł: 310 Dołączył: 18.04.2012 Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]()
Post
#4
|
|
![]() Grupa: Zarejestrowani Postów: 8 068 Pomógł: 1414 Dołączył: 26.10.2005 Ostrzeżenie: (0%) ![]() ![]() |
mmmmmmm a słyszał o bindowaniu ?
![]() |
|
|
![]()
Post
#5
|
|
![]() Grupa: Zarejestrowani Postów: 4 291 Pomógł: 829 Dołączył: 14.02.2009 Skąd: łódź Ostrzeżenie: (0%) ![]() ![]() |
mmmmmmm chodziło, że autor ma 'login' zamiast `login`
![]() |
|
|
![]() ![]() |
![]() |
Aktualny czas: 22.08.2025 - 11:24 |