Re: Another simple question (Probably)

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

 




On Jul 9, 2007, at 9:09 AM, Shafiq Rehman wrote:

Hi,

correct syntax for mktime is mktime( int hour, int minute, int second, int
month, int day, int year)

When I did that I got this error:
"[Tue Jul 10 09:33:12 2007] [error] PHP Parse error: syntax error, unexpected T_LNUMBER in /Volumes/RAIDer/webserver/Documents/tests/ ticklers/update.php on line 34"

And line 34 has this:
"$taskTime=mktime(int 00,int 00,int 00, int $month, int $day, int $year);"

So do I have a typo in the syntax? Or is there something I'm missing?





--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
japruim@xxxxxxxxxx

--
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