Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/04/2009, 12:31
dariones
 
Fecha de Ingreso: marzo-2009
Mensajes: 16
Antigüedad: 15 años, 1 mes
Puntos: 0
ERROR PHP: "Parse error: syntax error, unexpected T_STRING in /home...... on line 6"

Hola...

La verdad es que en PHP no me manejo mucho, y necesito enviar un formulario HTML mediante PHP directamente a mi Email.

Y me sale el error indicado arriba:

Parse error: syntax error, unexpected T_STRING in /home/........../cambiar_contrasena.php on line 6

La linea 6 es la siguiente:
Código HTML:
1<?php
2// get posted data into local variables
3$EmailFrom = Trim(stripslashes($_POST['EmailFrom'])); 
4$EmailTo = "mi email...";
5$Subject = "Cambio_de_Clave; 
<6>$Numero = "Trim(stripslashes($_POST['numero']));"
$Clave0 = Trim(stripslashes($_POST['Clave0'])); 
$Clave1 = Trim(stripslashes($_POST['Clave1'])); 
$Clave2 = Trim(stripslashes($_POST['Clave2'])); 
Ayudenme porfavor.
Las " " que puse al principio y al final me ayudaron a eliminar el error: unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING .
Sin embargo, me sigue saliendo la parte: expecting T_STRING.

S.O.S