Re: Another simple question (Probably)
| From: | Jason Pruim | Date: | Tue, 10 Jul 2007 13:36:05 +0000 |
| Subject: | Re: Another simple question (Probably) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-258535@lists.php.net to get a copy of this message | ||
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@raoset.com