RE: [PHP] PARSE ERROR, unexpected T_$VARIABLE

2004-12-06 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 06 December 2004 17:23, Greg Donald wrote: > On Mon, 06 Dec 2004 11:54:50 -0500, Robert Sossomon > <[EMAIL PROTECTED]> wrote: > > Parse error: parse error, expecting `T_VARIABLE'

Re: [PHP] PARSE ERROR, unexpected T_$VARIABLE

2004-12-06 Thread Greg Donald
On Mon, 06 Dec 2004 11:54:50 -0500, Robert Sossomon <[EMAIL PROTECTED]> wrote: > Parse error: parse error, expecting `T_VARIABLE' or `'$'' in > c:\fourh\leadership\registration_post.php on line 29 > > for ($i=0; $i < count($choices); $i++) This is bad. Every time the for() loop iterates, the cou

Re: [PHP] PARSE ERROR, unexpected T_$VARIABLE

2004-12-06 Thread Richard Lynch
Variable names cannot start with a digit. $distoffice0405 is kosher. $0405distoffice is not. Robert Sossomon wrote: > Parse error: parse error, expecting `T_VARIABLE' or `'$'' in > c:\fourh\leadership\registration_post.php on line 29 > > The HTML page: > http://rsossam-lap.ces.ncsu.edu/leadership

Re: [PHP] PARSE ERROR, unexpected T_$VARIABLE

2004-12-06 Thread John Holmes
Robert Sossomon wrote: Parse error: parse error, expecting `T_VARIABLE' or `'$'' in c:\fourh\leadership\registration_post.php on line 29 [snip] $0405distoffice= $_POST['04_05_dist_office']; //line29 $0506distoffice= $_POST['05_06_dist_office']; Variable names cannot start with a number. -- ---Joh

Re: [PHP] PARSE ERROR, unexpected T_$VARIABLE

2004-12-06 Thread John Nichel
Robert Sossomon wrote: Parse error: parse error, expecting `T_VARIABLE' or `'$'' in c:\fourh\leadership\registration_post.php on line 29 $0405distoffice= $_POST['04_05_dist_office']; //line29 $0506distoffice= $_POST['05_06_dist_office']; Look in the manual, that's your first stop... http://us4.

Re: [PHP] PARSE ERROR, unexpected T_$VARIABLE

2004-12-06 Thread Thomas Munz
you forgot the " ' " in the $fname= $_POST[fname]; $lname= $_POST[lname]; $addie= $_POST[addie]; $city= $_POST[city]; fields!!! > error, expecting `T_VARIABLE' or `'$'' in > c:\fourh\leadership\registration_post.php on line 29 > > The HTML page: > http://rsossam-lap.ces.ncsu.edu/leadership/re

[PHP] PARSE ERROR, unexpected T_$VARIABLE

2004-12-06 Thread Robert Sossomon
Parse error: parse error, expecting `T_VARIABLE' or `'$'' in c:\fourh\leadership\registration_post.php on line 29 The HTML page: http://rsossam-lap.ces.ncsu.edu/leadership/registration2.php The processing Script $fname= $_POST[fname]; $lname= $_POST[lname]; $addie= $_POST[addie]; $city= $_POST[