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'
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
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
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
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.
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
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[
7 matches
Mail list logo