additional
27-04-2006, 08:47 AM
Hey, I need help with this form. I get this error when I go to submit.
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/habiz/public_html/en/postit.php on line 35
This is the code
<?php
if ($_SERVER['REQUEST_METHOD'] != 'GET'){
$habbo = $_POST['habbo'];
$djname = $_POST['djname'];
$email = $_POST['email'];
$djpuser = $_POST['djpuser'];
$djppass = $_POST['djppass'];
$wudj = $_POST['wudj'];
$linkies = $_POST['linkies'];
$why = $_POST['why'];
$special = $_POST['special'];
$anything = $_POST['anything'];
$ip = $_POST['ip'];
$messig = "
Habbo Name: $habbo
DJ Name: $djname
Email: $email
DJ Panel User: $djpuser
DJ Panel Pass: $djppass
Experience: $wudj
Link to Clip: $linkies
Why choose you: $why
Special Abilities: $special
Anything we should know: $anything
This form was made by PogoMonkey
";
$subject = $habbo 's Job Application;
mail([email protected], $subject, $messig);
Header("Location: sent.php");
}
else
{
echo 'ERROR';
}
?>
Anybody care to explain where I have went wrong?
Thanks.
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/habiz/public_html/en/postit.php on line 35
This is the code
<?php
if ($_SERVER['REQUEST_METHOD'] != 'GET'){
$habbo = $_POST['habbo'];
$djname = $_POST['djname'];
$email = $_POST['email'];
$djpuser = $_POST['djpuser'];
$djppass = $_POST['djppass'];
$wudj = $_POST['wudj'];
$linkies = $_POST['linkies'];
$why = $_POST['why'];
$special = $_POST['special'];
$anything = $_POST['anything'];
$ip = $_POST['ip'];
$messig = "
Habbo Name: $habbo
DJ Name: $djname
Email: $email
DJ Panel User: $djpuser
DJ Panel Pass: $djppass
Experience: $wudj
Link to Clip: $linkies
Why choose you: $why
Special Abilities: $special
Anything we should know: $anything
This form was made by PogoMonkey
";
$subject = $habbo 's Job Application;
mail([email protected], $subject, $messig);
Header("Location: sent.php");
}
else
{
echo 'ERROR';
}
?>
Anybody care to explain where I have went wrong?
Thanks.