Re: Re[2]: [PHP] Passing many valaues to function

From: Date: Sat, 03 Nov 2001 10:07:59 +0000
Subject: Re: Re[2]: [PHP] Passing many valaues to function
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-73332@lists.php.net to get a copy of this message
which is line 235? "Daniel Harik" <gatop@hot.ee> wrote in message news:109919263.20011103115630@hot.ee... > I have following code > > <? > class Member{ > > function vallidateForm ($HTTP_POST_VARS){ > echo "$HTTP_POST_VARS['frmUsername']"; > } > > } > $user = new Member; > if($action=="register"){ > $user->vallidateForm($HTTP_POST_VARS); > }else{ > $user->displayForm(); > } > > Why i try to run it i get error > > Parse error: parse error, expecting T_STRING' or > T_VARIABLE' or `T_NUM_STRING' in c:\program files\apache group\apache\htdocs\cms\member.php on line 235 > > Thank you very much >

« previous php.general (#73332) next »