las variables no pueden escribirse así:
$mi variable
debe ser así:
$mi_variable, es decir no permiten espacios
y la variable $message nunca la cierras con un ;
Código PHP:
Ver original
$categoria = $_POST ["select2"] ;
$provincia = $_POST ["select"] ;
$particular = $_POST ["radio"] ;
$profesional = $_POST ["radio2"] ;
$nombre = $_POST ["textfield3"] ;
$apellidos = $_POST ["textfield"] ;
$email = $_POST ["textfield9"] ;
$contraseña = $_POST ["textfield4"] ;
$repetir_contraseña = $_POST ["textfield12"];
$ciudad_del_anunciante = $_POST ["textfield10"] ;
$zona_de_cobertura = $_POST ["textfield11"] ;
$telefono = $_POST ["textfield2"] ;
$dia = $_POST ["select3"] ;
$mes = $_POST ["select4"] ;
$año = $_POST ["select5"] ;
$dni = $_POST ["textfield5"] ;
$titulo_anuncio = $_POST ["textfield6"] ;
$descripcion = $_POST ["textfield7"] ;
$imagen = $_POST ["fileField"] ;
$acepta_condiciones_de_uso = $_POST ["checkbox"] ;
$thank="gracias por tu anuncio.html" ;
$message = "
categoria: " .$select2."
provincia: " .$select."
particular: " .$radio."
profesional: " .$radio2."
nombre: " .$textfield3."
apellidos: " .$textfield."
email: " .$textfield9."
contraseña: " .$textfield4."
repetir contraseña: " .$textfield12."
ciudad del anunciante: " .$textfield10."
zona de cobertura: " .$textfield11."
telefono: " .$textfield2."
dia: " .$select3."
mes: " .$select4."
año: " .$select5."
dni: " .$textfield5."
titulo anuncio: " .$textfield6."
descripcion: " .$textfield7."
imagen: " .$fileField."
acepta condiciones de uso: " .$checkbox;
if (mail ($mail, "nuevo anuncio", $message) )