Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/01/2010, 05:29
Avatar de DooBie
DooBie
 
Fecha de Ingreso: septiembre-2004
Mensajes: 1.101
Antigüedad: 19 años, 7 meses
Puntos: 71
Respuesta: variables de php a html y luego a php

Cita:
Iniciado por edugilc Ver Mensaje
<input type="hidden" name="from" value="$sender">
<input type="hidden" name="title" value="?$subject">
<input type="hidden" name="msg" value="$text">

Eso no es correcto, deberia ser así:
Código PHP:
      <input type="hidden"   name="from"    value="<?php echo $sender?>">
      <input type="hidden"   name="title"     value="<?php echo $subject?>">  
      <input type="hidden"   name="msg"     value="<?php echo $text?>">