Re: [PHP] getting funny error on working page

2008-04-15 Thread Daniel Brown
On Tue, Apr 15, 2008 at 5:24 PM, John A DAVIS <[EMAIL PROTECTED]> wrote: > > > Thanks! My guess is the production server has this set correctly and I will > follow your advice. > However, how would one do away with this error? What would I do to guarantee > an string being returned instead of a dat

Re: [PHP] getting funny error on working page

2008-04-15 Thread Andrew Ballard
On Tue, Apr 15, 2008 at 5:24 PM, John A DAVIS <[EMAIL PROTECTED]> wrote: > > > Thanks! My guess is the production server has this set correctly and I will > follow your advice. > However, how would one do away with this error? What would I do to guarantee > an string being returned instead of a dat

Re: [PHP] getting funny error on working page

2008-04-15 Thread John A DAVIS
Thanks! My guess is the production server has this set correctly and I will follow your advice. However, how would one do away with this error? What would I do to guarantee an string being returned instead of a date? What can I wrap the date() function in?      $month=substr($thisdate,0,2); 

Re: [PHP] getting funny error on working page

2008-04-15 Thread Daniel Brown
On Tue, Apr 15, 2008 at 5:07 PM, John A DAVIS <[EMAIL PROTECTED]> wrote: [snip!] > > Notice: A non well formed numeric value encountered in > C:\Inetpub\wwwroot\mazamaslocal\functions.php on line 15 > Oct 02 (Tue) Triple Crown Ken Searl It's an E_NOTICE. That means the issue has always exist