Re: [PHP] Check if Record was Entered Today.

2007-05-25 Thread Rahul Sitaram Johari
WORKS!! Thanks. On 5/24/07 5:34 PM, "Richard Lynch" <[EMAIL PROTECTED]> wrote: >> $db = dbase_open(try.dbf", 0); >> if ($db) { > > $exists = false; > $today = false; > >> $record_numbers = dbase_numrecords($db); >> for ($i = 1; $i <= $record_numbers; $i++) { >> $r

Re: [PHP] Check if Record was Entered Today.

2007-05-24 Thread Richard Lynch
On Thu, May 24, 2007 12:42 pm, Rahul Sitaram Johari wrote: > > Ave, > > I have a dbase (dbf) database and I¹m using PHP¹s dbase function to > open & > search the database. > Each row in the database contains an Account Number and the Date it > was > inserted. > > I want to search this database for

Re: [PHP] Check if Record was Entered Today.

2007-05-24 Thread Dan Shirah
Ave, I have a dbase (dbf) database and I¹m using PHP¹s dbase function to open & search the database. Each row in the database contains an Account Number and the Date it was inserted. I want to search this database for to see if the Account number ($thekey) was inserted today (using date() to fi

RE: [PHP] Check if Record was Entered Today.

2007-05-24 Thread Jim Moseby
> -Original Message- > From: Rahul Sitaram Johari [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 24, 2007 1:42 PM > To: PHP > Subject: [PHP] Check if Record was Entered Today. > > > > Ave, > > I have a dbase (dbf) database and I¹m using PHP¹s dbase > function to open & > search the