![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 6 Pomógł: 0 Dołączył: 21.11.2012 Ostrzeżenie: (0%) ![]() ![]() |
Witam mam problem z kodem niestety na stronie wyświetla mi i nie mam pomysłu co jest grane :
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
|
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Moderatorzy Postów: 36 559 Pomógł: 6315 Dołączył: 27.12.2004 ![]() |
No... czyli $zajety jest rekordem/tablicą jak ci już pisałem....
Nie możesz więc robić: if(($zajety) == 0){ gdyż to jest tablica. A tablicy do 0 się nie porównuje.... porównuje się jej elementy... Staraj sie skupiać na tym co ci ludzie piszą if(($zajety[0]) == 0){ |
|
|
![]() ![]() |
![]() |
Aktualny czas: 3.10.2025 - 07:53 |