[PHP-DB] -14 Days Ago

2004-10-08 Thread Cole S. Ashcraft
I am trying to see whether a data in an array pulled from a MySQL DB (YEARMONTHDATE) is older than 14 days ago. I am trying to do this in PHP. My code looks like: if($array['due'] = $today - 14) { echo h5Assignment In Void:/h5brh4Assignments in the void are read-only; require('footer.php');

RE: [PHP-DB] -14 Days Ago

2004-10-08 Thread Wendell Frohwein
You can trying using the MySQL DATE_ADD() , DATE_SUB , and NOW() functions. -wendell frohwein -Original Message- From: Cole S. Ashcraft [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 11:36 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] -14 Days Ago I am trying to see whether

Re: [PHP-DB] -14 Days Ago

2004-10-08 Thread Cole S. Ashcraft
] Subject: [PHP-DB] -14 Days Ago I am trying to see whether a data in an array pulled from a MySQL DB (YEARMONTHDATE) is older than 14 days ago. I am trying to do this in PHP. My code looks like: if($array['due'] = $today - 14) { echo h5Assignment In Void:/h5brh4Assignments in the void are read-only

Re: [PHP-DB] -14 Days Ago

2004-10-08 Thread metin kale
http://dev.mysql.com/doc/mysql/en/Date_and_time_functions.html That web page has tons of details. metin Cole S. Ashcraft wrote: I am trying to see whether a data in an array pulled from a MySQL DB (YEARMONTHDATE) is older than 14 days ago. I am trying to do this in PHP. My code looks like:

RE: [PHP-DB] -14 Days Ago

2004-10-08 Thread Hutchins, Richard
:36 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] -14 Days Ago I am trying to see whether a data in an array pulled from a MySQL DB (YEARMONTHDATE) is older than 14 days ago. I am trying to do this in PHP. My code looks like: if($array['due'] = $today - 14) { echo h5Assignment In Void

RE: [PHP-DB] -14 Days Ago

2004-10-08 Thread Gryffyn, Trevor
: Friday, October 08, 2004 2:57 PM To: 'Cole S. Ashcraft'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] -14 Days Ago You can trying using the MySQL DATE_ADD() , DATE_SUB , and NOW() functions. -wendell frohwein -Original Message- From: Cole S. Ashcraft [mailto:[EMAIL PROTECTED

Re: [PHP-DB] -14 Days Ago

2004-10-08 Thread Cole S. Ashcraft
- From: Cole S. Ashcraft [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 2:36 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] -14 Days Ago I am trying to see whether a data in an array pulled from a MySQL DB (YEARMONTHDATE) is older than 14 days ago. I am trying to do this in PHP. My code

Re: [PHP-DB] -14 Days Ago

2004-10-08 Thread Janet Valade
Cole S. Ashcraft wrote: I am trying to see whether a data in an array pulled from a MySQL DB (YEARMONTHDATE) is older than 14 days ago. I am trying to do this in PHP. My code looks like: if($array['due'] = $today - 14) { echo h5Assignment In Void:/h5brh4Assignments in the void are read-only;