> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 22 June 2002 15:19
 
> when I try and view stat.php I get this error:
> 
> Parse error: parse error, expecting `T_STRING' or 
> `T_VARIABLE' or `T_NUM_STRING' in C:\TecEco(Converting To 
> PHP)\includes\stat.php on line 7
> 
> What does the error mean and how can I correct my code?

> setcookie ("tececo_stats", 1);

The 2nd argument to setcookie needs to be a string.

Make it so.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

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

Reply via email to