[MySQL][PHP]Problem z tokenem |
[MySQL][PHP]Problem z tokenem |
28.02.2012, 14:59:52
Post
#1
|
|
Grupa: Zarejestrowani Postów: 22 Pomógł: 0 Dołączył: 28.02.2012 Ostrzeżenie: (0%) |
Błąd Parse error: syntax error, unexpected T_STRING in /home/students/ie2012/magick7/public_html/new/edytuj_oglo2.php on line 31 Oświeci mnie ktoś co za błąd popełniłem... PHP byc ciężkie |
|
|
28.02.2012, 15:04:14
Post
#2
|
|
Grupa: Zarejestrowani Postów: 1 487 Pomógł: 245 Dołączył: 1.07.2009 Skąd: Bydgoszcz Ostrzeżenie: (0%) |
Linijka 21:
Forum to nie parser. -------------------- Uśpieni przez system, wychowani przez media,
Karmieni zmysłami, próżnymi żądzami... -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Jesteś zbyt leniwy, żeby się zarejestrować? Ja jestem zbyt leniwy aby Ci pomóc! -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- |
|
|
28.02.2012, 15:16:33
Post
#3
|
|
Grupa: Zarejestrowani Postów: 22 Pomógł: 0 Dołączył: 28.02.2012 Ostrzeżenie: (0%) |
Notice: Undefined index: id in /home/students/ie2012/magick7/public_html/new/edytuj_oglo2.php on line 15
Notice: Undefined index: id in /home/students/ie2012/magick7/public_html/new/edytuj_oglo2.php on line 21 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 'Tresc_oferty = 'Spanie' Miejscowosc_oferty = 'Poznan' Numer_tel_oferty = '600600' at line 2 Wybaczcie dopiero się uczę ;/ Ten post edytował monter2313 28.02.2012, 15:17:01 |
|
|
28.02.2012, 15:33:35
Post
#4
|
|
Grupa: Zarejestrowani Postów: 226 Pomógł: 17 Dołączył: 13.02.2012 Ostrzeżenie: (0%) |
jak już to:
Ale powinieneś to zapisać tak naprawdę tak:
Bo ID to nie string. A co do drugiego błędu, to po prostu localhost Ci go wywala, na normalnym serwerze będzie ok. EDIT: Przecież u góry ktoś podał Ci tą samą odp! Korzystaj chociaż z tego co Ci ludzie piszą... Ten post edytował Majkelo23 28.02.2012, 15:35:38 |
|
|
28.02.2012, 15:41:58
Post
#5
|
|
Grupa: Zarejestrowani Postów: 22 Pomógł: 0 Dołączył: 28.02.2012 Ostrzeżenie: (0%) |
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 'Tresc_oferty = 'Spanie' Miejscowosc_oferty = 'Poznan' Numer_tel_oferty = '600600' at line 2 Zmieniłem i cały czas to samo Edit: Juz mi sie udało samemu zmienić problem pozostaje z bazą Ten post edytował monter2313 28.02.2012, 15:45:29 |
|
|
28.02.2012, 15:48:05
Post
#6
|
|
Grupa: Zarejestrowani Postów: 322 Pomógł: 15 Dołączył: 29.01.2010 Ostrzeżenie: (0%) |
|
|
|
28.02.2012, 18:32:32
Post
#7
|
|
Grupa: Zarejestrowani Postów: 22 Pomógł: 0 Dołączył: 28.02.2012 Ostrzeżenie: (0%) |
Pomyliłem wielkosc tokenów> juz działa
|
|
|
Wersja Lo-Fi | Aktualny czas: 25.05.2024 - 23:22 |