Try this:
SELECT SUM(duration) AS summ, ..., ..., ..., FROM table1 WHERE condition
Hope it will help ya!

Denis Basta.

"Adi" <[EMAIL PROTECTED]> wrote in message
Hi, I have a table table1, with a column "Duration" time type(ex 00:12:30)
I want to make in PHP a sql selection:
SELECT * from table1 WHERE condition, and after that, to make sum of values
of column "Duration" and display it.
Any Help?

How to transform time in seconds, with php functions?

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to