Alguien me puede decir porque me sale error?

yeta
15 de Febrero del 2004
mirad, me sale esto:
Parse error: parse error in /home/webcindario/noeliafanclub/emailform.php on line 37

aqui os dejo el codigo. alguien me lo arregla por favor?


<?

// DO NOT MESS WITH THESE TWO LINES
$subject_array = array();
$recipient_array = array();
///////////////////////////////////

$this_script = "emailform.php"; // The name of THIS file, if you change it.

// Edit only what's between the quotation marks in the below lines.
// These will be the subjects that your users can choose from
// You can have as many as you want.
// Each one must be set up like so:
// $subject_array[] = "What You Want This Choice To Be";
// Make sure to remove empty ones that you aren't using. Just delete the entire line.
$subject_array[] = "Alta en Noelia Fan Club - www.noeliafanclub.tk";

// Edit only what's between the quotation marks in the below lines.
// These lines contain the various people that can be contacted via your form.
// You can have as many as you want.
// Each one must be set up like so:
// $recipient_array["UNIQUE Short Name"] = "[email protected]";
// The "UNIQUE Short Name" will be shown in the select box.
// This allows the actual email address to be hidden from the user.
// Make sure to remove empty ones that you aren't using. Just delete the entire line.
$recipient_array["Your Email"] = "[email protected]";



////////////////////////////////////////////////////////////////////////////////////
// Do Not Edit Below Here Unless You Know What You Are Doing
////////////////////////////////////////////////////////////////////////////////////
if ($_POST["send"] == "true") {
$to = "[email protected]";
$name = $_POST["name"];
$apellidos = $_POST["apellidos"]
$calle = $_POST["calle"]
$numero = $_POST["numero"]
$piso = $_POST["piso"]
$c_postal = $_POST["c_postal"]
$localidad = $_POST["localidad"]
$provincia = $_POST["provincia"]
$email = $_POST["email"];
$dni = $_POST["dni"]
$fecha_nacimiento = $_POST["fecha_nacimiento"]
$talla = $_POST["talla"]
$numero_fijo = $_POST["numero_fijo"]
$numero_movil = $_POST["numero_movil"]
$the_subject = $_POST["subject"];
if (($name == "") OR ($email == "")) {
print ("<div id="sectionContent">");
print ("<font color="red">Uno de los espacios requeridos está en blanco. Por favor, rellena todos los espacios.</font><br><br>");
print ("</div><br>");
email_form();
} elseif (ereg("([[:alnum:].-]+)(@[[:alnum:].-]+.+)", $email)) {
$recipient = $to;
$subject = $the_subject;
$additional_headers = ("From: $emailn");
$body = ("Name: $namenCalle: $callenNúmero: $numeronPiso: $pisonCódigo Postal: $c_postalnLocalidad: $localidadnProvincia: $provincianEmail: $emailnDNI: $dninFecha de Nacimiento: $fecha_nacimientonTalla Camiseta/Sudadera: $tallan Número Fijo: $numero_fijonNúmero de Móvil: $numero_movilnnMessage:nn" . $message);
if (mail($recipient, $subject, $body, $additional_headers)) {
print ("<div id="sectionContent">");
print ("La inscripción ha sido enviada satisfactoriamente.<br><br>");
print ("</div><br>");
} else {
print ("<div id="sectionContent">");
print ("<font color="red">Lo sentimos, tenemos un problema temporal con la web. Por favor, inténtalo de nuevo más tarde. Disculpen las molestias.</font><br><br>");
print ("</div><br>");
$send = "false";
email_form();
}
} else {
print ("<div id="sectionContent">");
print ("<font color="red">La dirección de e-Mail introducida no es válida. Por favor, introduce una dirección válida.</font><br><br>");
print ("</div><br>");
$send = "false";
email_form();
}
} else {
print ("<div id="sectionContent">");
print ("Select who you want to mail from the box below and fill out the form.<br><br>");
print ("</div><br>");
email_form();
}

function email_form()
{
global $subject_array, $recipient_array, $this_script, $PHP_SELF;

print ("<div id="sectionContent">");
print ("<form METHOD=POST action="$PHP_SELF">n");
print ("<input type="hidden" name="send" value="true">n");
print ("Nombre:<br><input type="text" name="name"><br><br>n");
print ("Apellidos:<br><input type="text" name="apellidos"><br><br>n");
print ("Calle:<br><input type="text" name="calle"><br><br>n");
print ("Numero:<br><input type="text" name="numero"><br><br>n");
print ("Piso:<br><input type="text" name="piso"><br><br>n");
print ("Código Postal:<br><input type="text" name="c_postal"><br><br>n");
print ("Localidad:<br><input type="text" name="localidad"><br><br>n");
print ("Provincia:<br><input type="text" name="provincia"><br><br>n");
print ("Tu Dirección de e-Mail:<br>n");
print ("DNI:<br><input type="text" name="dni"><br><br>n");
print ("Fecha de Nacimiento:<br><input type="text" name="fecha_nacimiento"><br><br>n");
print ("Talla Camiseta/Sudadera:<br><input type="text" name="talla"><br><br>n");
print ("Teléfono Fijo:<br><input type="text" name="numero_fijo"><br><br>n");
print ("Teléfono Móvil:<br><input type="text" name="numero_movil"><br><br>n");
print ("<input type="text" name="email" size="40"><br><br>n");
print ("<select name="subject">n");
foreach ($subject_array as $value2) {
print ("<option value="" . $value2 . "">" . $value2 . "</option>n");
}
print ("</select><br><br>n");
print ("<input type="submit" value="Submit">&nbsp;&nbsp;n");
print ("<input type="reset" value="Reset Fields">n");
print ("</form>n");
print ("</div>");
}
?>

me podeis dar la respuesta por favor?enviadmela al mail o dejadla aqui por favor
[email protected]

lechucky
15 de Febrero del 2004
Asi de un vistazo quizas sea por una cuestion de puntos y comas.
Hay quien dice que es una buena costumbre finalizar las lineas con ellos :

$numero = $_POST["numero"]
$piso = $_POST["piso"]

Un saludo ;

miglesias
15 de Febrero del 2004
punto y coma, punto y coma, punto y coma....