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/registration2.php
>
> The processing Script
> <SNIP>
>
> <?php
>
> $fname= $_POST[fname];
> $lname= $_POST[lname];
> $addie= $_POST[addie];
> $city= $_POST[city];
> $state= $_POST[state];
> $zip= $_POST[zip];
> $county= $_POST[county];
> $dphone= $_POST[dphone];
> $ephone= $_POST[ephone];
> $email= $_POST[email];
> $first_conf= $_POST[first_conf];
> $payment= $_POST[payment];
> $PreConference= $_POST['PreConference'];
> $Conference= $_POST['Conference'];
>
> $choices = $_POST['choice'];
> array_splice($choices,4);
> $j=1;
> for ($i=0; $i < count($choices); $i++)
> {
>   $value = $choices[$i];
>   $tempChoice = "choice" . $j;
>   $$tempChoice = $value;
>   $j++;
> }
>
> $0405distoffice= $_POST['04_05_dist_office'];  //line29
> $0506distoffice= $_POST['05_06_dist_office'];
> $former= $_POST[former];
> $achieve= $_POST[achieve];
>
>
> ?>
> </SNIP>
>
> I pulled out the iterations above that line of code and tested it
> separately. Everything worked OK, so I copied it into the rest of the PHP
> processing.
>
> This thing is driving me bonkers.  Any suggestions?
>
> --
> Robert Sossomon, Business and Technology Application Technician
> 4-H Youth Development Department
> 200 Ricks Hall, Campus Box 7606
> N.C. State University
> Raleigh NC 27695-7606
> Phone: 919/515-8474
> Fax:   919/515-7812
> [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to