Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /users/gulk/www/yellow/waitlistaction.php on line 2
Here is the code i have done already:
<form action="waitlistaction.php" method="post" enctype="text/plain" name="waitlist" id="waitlist">
and here is the php code.
<?php $1stresident = $_REQUEST['1stresident']; $age = $_REQUEST['age']; $date = $_REQUEST['date']; $2ndresident = $_REQUEST['2ndresident']; $2ndage = $_REQUEST['2ndage']; $2nddate = $_REQUEST['2nddate']; $street = $_REQUEST['street']; $city = $_REQUEST['city']; $state = $_REQUEST['state']; $zip = $_REQUEST['zip']; $phone = $_REQUEST['phone']; $phone2 = $_REQUEST['phone2']; mail( "yellowretirement@gmail.com", "Waitlist Agreement", $1stresident, $age, $date, $2ndresident, $2ndage, $2nddate, $street, $city, $state, $zip, $phone, $phone2 "From: $1stresident"); ?>
Not exactly sure what has gone wrong here. I was getting an example from thesitewizard.com.
Any help would be appreciated.
Thanks

New Topic/Question
Reply




MultiQuote





|