![]() |
![]() |
![]() ![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 399 Pomógł: 7 Dołączył: 11.06.2007 Skąd: Poznan Ostrzeżenie: (20%) ![]() ![]() |
plik.php
Co jest nie tak z while? Pracuje na PHP 4 Ten post edytował Piotrwusek 11.07.2007, 09:19:34 |
|
|
![]() |
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 1 045 Pomógł: 5 Dołączył: 8.11.2004 Skąd: trójmiasto Ostrzeżenie: (0%) ![]() ![]() |
Nie tak w while jest to że dałeś średnik
Ten post edytował php programmer 11.07.2007, 09:21:55 |
|
|
![]()
Post
#3
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
Co to jest to 8? Ilosć rekordów? To się inaczej robi.
O to chodzi? Pozdrawiam. -------------------- To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness; chaotic, confused, vulnerability, to inform yourself. Think for yourself. Question authority. |
|
|
![]() ![]()
Post
#4
|
|
![]() Grupa: Zarejestrowani Postów: 399 Pomógł: 7 Dołączył: 11.06.2007 Skąd: Poznan Ostrzeżenie: (20%) ![]() ![]() |
8 to niżej masz post a w nim strukturę tabeli wiec zobacz
Ten post edytował Piotrwusek 11.07.2007, 09:53:05 |
|
|
![]()
Post
#5
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
Uhu. Czyli chodzi o nieśmiertelny średnik
![]() -------------------- To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness; chaotic, confused, vulnerability, to inform yourself. Think for yourself. Question authority. |
|
|
![]()
Post
#6
|
|
![]() Grupa: Zarejestrowani Postów: 399 Pomógł: 7 Dołączył: 11.06.2007 Skąd: Poznan Ostrzeżenie: (20%) ![]() ![]() |
wcale nie bo bez średnika też jest problem
wyskakuje coś takiego Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/kwserwer/ftp/plan.php on line 18 a kod jest taki plik.php
|
|
|
![]()
Post
#7
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
No żeś namieszał... ja też.
8 nie może być nazwą tabeli, bo jest nią plan_poniedziałek... czym zatem jest to 8? -------------------- To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness; chaotic, confused, vulnerability, to inform yourself. Think for yourself. Question authority. |
|
|
![]() ![]()
Post
#8
|
|
![]() Grupa: Zarejestrowani Postów: 399 Pomógł: 7 Dołączył: 11.06.2007 Skąd: Poznan Ostrzeżenie: (20%) ![]() ![]() |
żebyśmy sie zrozumieli to jest struktura w bazie danych
więc co robie źle Ten post edytował Piotrwusek 11.07.2007, 09:51:58 |
|
|
![]()
Post
#9
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 30.09.2006 Ostrzeżenie: (0%) ![]() ![]() |
Moze o to chodzi:
|
|
|
![]()
Post
#10
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
To może pokaż jaki to błąd?
-------------------- To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness; chaotic, confused, vulnerability, to inform yourself. Think for yourself. Question authority. |
|
|
![]()
Post
#11
|
|
![]() Grupa: Zarejestrowani Postów: 399 Pomógł: 7 Dołączył: 11.06.2007 Skąd: Poznan Ostrzeżenie: (20%) ![]() ![]() |
Teraz nie ma błędu naroście ale wyświetla się słowo Array a ja che żeby wyświetlał sie rekord można to zobaczyć na stronie kwserwer.nazwa.pl/plan.php Ten post edytował Piotrwusek 11.07.2007, 10:43:47 |
|
|
![]()
Post
#12
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 30.09.2006 Ostrzeżenie: (0%) ![]() ![]() |
Zmienna 'ostat' jest tablica, wpisz sobie var_dump($ostat) i zobacz co wyrzuci.
|
|
|
![]()
Post
#13
|
|
![]() Grupa: Zarejestrowani Postów: 399 Pomógł: 7 Dołączył: 11.06.2007 Skąd: Poznan Ostrzeżenie: (20%) ![]() ![]() |
wyrzuciło coś takiego
array(1) { [8]=> string(1) "8" } |
|
|
![]()
Post
#14
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 30.09.2006 Ostrzeżenie: (0%) ![]() ![]() |
No to najwyrazniej w polu '8' masz wartosc '8'. Jesli chcesz ja wyswietlic to w petli zamiast print($ostat); napisz print($ostat[8]);.
Ten post edytował Stark 11.07.2007, 10:50:11 |
|
|
![]() ![]()
Post
#15
|
|
![]() Grupa: Zarejestrowani Postów: 399 Pomógł: 7 Dołączył: 11.06.2007 Skąd: Poznan Ostrzeżenie: (20%) ![]() ![]() |
W polu 8 mam wartość sfinks
Chcę w proty sposób wyświetlić rekord na stronie czy to takie trudne |
|
|
![]()
Post
#16
|
|
Grupa: Zarejestrowani Postów: 12 Pomógł: 0 Dołączył: 30.09.2006 Ostrzeżenie: (0%) ![]() ![]() |
Najwyrazniej...
Sproboj jeszcze tak:
|
|
|
![]() ![]()
Post
#17
|
|
![]() Grupa: Zarejestrowani Postów: 399 Pomógł: 7 Dołączył: 11.06.2007 Skąd: Poznan Ostrzeżenie: (20%) ![]() ![]() |
zrobiłem tak i nażrecie działa Dzięki wszystkim |
|
|
![]() ![]() |
![]() |
Aktualny czas: 19.08.2025 - 04:59 |