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

2007-05-25 Thread Jared Farrish
On 5/25/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: I guess one of the problems is that PHP has a limited number of dbase functions and I'm not able to run SQL Queries on a dbf database. Basically I have to make-do with the few dbase() functions I have available in PHP. But I do get yo

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

2007-05-25 Thread Rahul Sitaram Johari
I guess one of the problems is that PHP has a limited number of dbase functions and I'm not able to run SQL Queries on a dbf database. Basically I have to make-do with the few dbase() functions I have available in PHP. But I do get your logic and it's pretty helpful. I did re-write the code using

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

2007-05-24 Thread Jared Farrish
I believe you need a "while" instead of an "if". The "if" will only run until the first occurance is true. Whereas a "while" will run to find all results that are true until it goes thru all of the result rows.. No, I think he's checking to make sure that $db contains a resource id and not