Hello, This is a reply to an e-mail that you wrote on Fri, 8 Aug 2003 at 15:54, lines prefixed by '>' were originally written by you. > array $SESSION; near the beginning gives the error > Parse error: parse error, unexpected T_ARRAY, expecting T_OLD_FUNCTION > or > T_FUNCTION or T_VAR or '}' in > d:wwwrootstwerburghs.orgobjcontacts.obj.php on line 6 > Fatal error: Cannot instantiate non-existent class: contacts in > d:wwwrootstwerburghs.orgcmslist_contacts.php on line 9 > At 14:44 08/08/2003 +0100, David Nicholson wrote:
Ah, didn't spot that, just use var instead of array, if you want it to start off as a blank array, use: var $SESSION = array(); David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php