Re: [PHP] time to seconds

2002-09-24 Thread mhafizm
select time_to_sec('00:12:30) ?? > > From: "adi" <[EMAIL PROTECTED]> > Date: 2002/09/18 Wed PM 04:54:31 CST > To: "PHP-General" <[EMAIL PROTECTED]> > Subject: [PHP] time to seconds > > Hi, I have a table table1, with a column

RE: [PHP] time to seconds

2002-09-18 Thread Warren Daly
me hope this helps. Warren -Original Message- From: adi [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 9:55 AM To: PHP-General Subject: [PHP] time to seconds Hi, I have a table table1, with a column "Duration" time type(ex 00:12:30) I want to make in PHP a sql

[PHP] time to seconds

2002-09-18 Thread adi
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? tx