Ok, well I run a group type thing on the internet, and I have used a code someone provided for me, and edited it to fit my needs. Now I recieve and error every time I attempt to submit the form:
"Warning: Unexpected character in input: ‘’ (ASCII=92) state=1 in /home/u2/bardicwolf/html/Averna/join.php on line 38
Parse error: parse error in /home/u2/bardicwolf/html/Averna/join.php on line 38"
I don’t understand what it’s talking about, but here’s the php I used:
[php]
<? $email = $HTTP_POST_VARS['e-mail']; $name = $HTTP_POST_VARS['name']; $age = $HTTP_POST_VARS['age']; $race = $HTTP_POST_VARS['race']; $other = $HTTP_POST_VARS['other']; $job = $HTTP_POST_VARS['job']; $wealth = $HTTP_POST_VARS['wealth']; $class = $HTTP_POST_VARS['class']; $desc = $HTTP_POST_VARS['description']; $spells = $HTTP_POST_VARS['spells']; $magicalitems = $HTTP_POST_VARS['mgcitems']; $rareitems = $HTTP_POST_VARS['rareitems']; if(($email == "") || ($name == "") || ($age == "") || ($race == "") || ($other == "") || ($job == "") || ($wealth == "") || ($class == "") || ($desc == "") || ($spells == "") || ($magicalitems == "") || ($rareitems =="")){ echo <<<END Averna CastleSorry, but your form can not be accepted, as you left one or more spaces blank. Please try again. |
Thank you $name! Your join application has been sent. The following is what you had entered: E-mail Address: $email Character Name: $name Age: $age Race: $race Profession: $job Wealth: $wealth Class: $class Description: $desc Spells: $spells Magical Items: $magicalitems Rare Items: $rareitems |
[/php]
Mod Edit: Added PHP BBCode Tags
And here’s a link to the page I’m trying to use it in: http://www.bardicwolf.com/Averna/join.htm
Can anyone help me?