Hi,
I'm trying to figure out this error I'm getting in my code:
Parse error: parse error in /home/.paco/campuscb/AdPayment.php on line 9
This is the code on line 9:
$sDate = date('Y-m-d',time());
if you're looking for the current time, then this is sufficient: $sDate=date('Y-m-d');
the error is most likely on a line above that one. I've never seen date() called in the way you did, though - the documentation (http://php.net/date) says that time() is the default for the second parameter, so is never actually needed.
Kae
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php