Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Suma pol w jednej kolumnie.
telepawel
post
Post #1





Grupa: Zarejestrowani
Postów: 81
Pomógł: 0
Dołączył: 11.05.2003

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


Witam

Jak zsumowac pola z jednej kolumny ?

Mam taki oto kod ktory nie chce dzialac:

  1. <?php
  2. $result2 = mysql_query(&#092;"SELECT SUM(mark) FROM feedbacks\");
  3. $row = mysql_fetch_array($result2);
  4. $euqalizer = $row['mark']; 
  5. echo $euqalizer;
  6. ?>


Ten post edytował telepawel 30.06.2004, 12:01:13
Go to the top of the page
+Quote Post

Posty w temacie
- telepawel   Suma pol w jednej kolumnie.   30.06.2004, 12:00:18
- - kszychu   [PHP] pobierz, plaintext <?php$result2 = mysql_...   30.06.2004, 12:03:22
- - telepawel   Dziekuje serdecznie. EOT   30.06.2004, 12:08:26


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 Aktualny czas: 21.08.2025 - 09:06