RE: [PHP-DB] Notice: A non well formed numeric value encountered

2007-09-22 Thread Naintara
I don't see the NOTICE message. Perhaps a timezone notice? Lookup the date() function in the php manual. The time parameter should be a unix timestamp value, so $CTS should contain an integer value. You can also find ways to convert the time value you have to unix timestamp, in the manual.

RE: [PHP-DB] Notice: A non well formed numeric value encountered

2007-09-22 Thread Stephen Sunderlin
PROTECTED] Sent: Saturday, September 22, 2007 11:13 AM To: 'PHP-DB Mailing List' Subject: RE: [PHP-DB] Notice: A non well formed numeric value encountered I don't see the NOTICE message. Perhaps a timezone notice? Lookup the date() function in the php manual. The time parameter should be a unix

RE: [PHP-DB] Notice: A non well formed numeric value encountered

2007-09-22 Thread Naintara
- From: Stephen Sunderlin [mailto:[EMAIL PROTECTED] Sent: Saturday, September 22, 2007 9:24 PM To: 'Naintara'; 'PHP-DB Mailing List' Subject: RE: [PHP-DB] Notice: A non well formed numeric value encountered Thank you for your response. The notice is in the Subject Line of the email: Notice

RE: [PHP-DB] Notice: A non well formed numeric value encountered

2007-09-22 Thread Stephen Sunderlin
, September 22, 2007 12:49 PM To: 'PHP-DB Mailing List' Subject: RE: [PHP-DB] Notice: A non well formed numeric value encountered That's a good question. I'm really not sure about which way is better, but yes, you could use UNIX_TIMESTAMP() to query a datetime value from a MySQL field, convert

RE: [PHP-DB] Notice: A non well formed numeric value encountered

2007-09-22 Thread Naintara
] Sent: Saturday, September 22, 2007 12:49 PM To: 'PHP-DB Mailing List' Subject: RE: [PHP-DB] Notice: A non well formed numeric value encountered That's a good question. I'm really not sure about which way is better, but yes, you could use UNIX_TIMESTAMP() to query a datetime value from a MySQL

RE: [PHP-DB] Notice: A non well formed numeric value encountered

2007-09-22 Thread Stephen Sunderlin
PROTECTED] Sent: Saturday, September 22, 2007 12:49 PM To: 'PHP-DB Mailing List' Subject: RE: [PHP-DB] Notice: A non well formed numeric value encountered That's a good question. I'm really not sure about which way is better, but yes, you could use UNIX_TIMESTAMP() to query a datetime value from

RE: [PHP-DB] Notice: A non well formed numeric value encountered

2007-09-22 Thread Naintara
' This isn't the same as the unix timestamp integer value. -Original Message- From: Stephen Sunderlin [mailto:[EMAIL PROTECTED] Sent: Saturday, September 22, 2007 11:27 PM To: 'Naintara' Cc: 'PHP-DB Mailing List' Subject: RE: [PHP-DB] Notice: A non well formed numeric value encountered Naintara