Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP][MYSQL]Wyświetlenie wyniku zapytania na stronie.
roux
post 15.08.2008, 15:43:29
Post #1





Grupa: Zarejestrowani
Postów: 4
Pomógł: 0
Dołączył: 15.08.2008

Ostrzeżenie: (0%)
-----


Jak można wyświetlić wynik takiego zapytania w polu textowym na stronie www.


$wynik= mysql_query("SELECT SUM(koszt) FROM licznik");
Powód edycji: dodałem tagi (cysiaczek)
Go to the top of the page
+Quote Post
Cezar708
post 15.08.2008, 15:50:30
Post #2





Grupa: Zarejestrowani
Postów: 1 116
Pomógł: 119
Dołączył: 10.05.2005
Skąd: Poznań

Ostrzeżenie: (0%)
-----


pokombinuj z:

mysql_fetch_assoc()

a jak wejdziesz na tę stronę to z prawej strony masz listę wszystkich funckji dot. mysql, trochę inwencji i dasz radę

pozdrawiam
Go to the top of the page
+Quote Post
Cysiaczek
post 17.08.2008, 15:01:22
Post #3





Grupa: Moderatorzy
Postów: 4 465
Pomógł: 137
Dołączył: 26.03.2004
Skąd: Gorzów Wlkp.




Przenoszę na Przedszkole


--------------------
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.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 18.07.2025 - 00:42