RE: Problem with date

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> 
>       How about a little debugging here (and possibly elsewhere):
> 
>       if (isset($pubdate) && ($pubdate >0)) {
>          $pubdate=strtotime($pubdate);
>       } else {
>          die("Barf.  Can't run a string to time conversion on 0 or -1.");
>       }
> 

Thanks Kevin,

This bombs and gives me the BARF!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux