RE: [PHP] Error(Newbie)

From: Date: Mon, 24 Jun 2002 16:30:42 +0000
Subject: RE: [PHP] Error(Newbie)
Groups: php.general 
Request: Send a blank email to php-general+get-103620@lists.php.net to get a copy of this message
> -----Original Message----- > From: webmaster@tececo.com [mailto:webmaster@tececo.com] > 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: m.ford@lmu.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211

« previous php.general (#103620) next »