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);
   $day =substr($thisdate,3,2);
   $year = substr($thisdate,6,4);

   $d =date("M d (D)",Mktime(0,0,0,$month,$day,$year));
 
Again, thank you!
John A. Davis
 

>>> "Daniel Brown" <[EMAIL PROTECTED]> 4/15/2008 2:14:16 PM >>>
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 existed, it was
just never displayed.  While you should make every attempt to fix
every issue, notices are generally safe to ignore without any serious
consequence (keep in mind, I say, "generally").  So you can update
your php.ini's error_reporting variable to the following:

error_reporting  =  E_ALL & ~E_NOTICE

    .... and then restart IIS (which is what it looks like you're
using, based upon path).

--
</Daniel P. Brown>
Ask me about:
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hosting starting @ $2.50/mo.
Unmanaged, managed, and fully-managed!

Reply via email to