Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/09/2008, 08:19
Avatar de Legoltaz
Legoltaz
 
Fecha de Ingreso: agosto-2008
Mensajes: 325
Antigüedad: 15 años, 8 meses
Puntos: 6
Respuesta: Dos variables en un textarea ?

Puedes pasar idnoticia por url y luego hacer un $_GET['idnoticia'] o poner en el formulario un <input type="hidden" name="idnoticia" />
Código PHP:
<?
$comentario 
$_POST['comentario']; // contenido del textarea
$idnoticia $_GET['idnoticia']; // si lo pasaste por URL
$idnoticia $_POST['idnoticia']; // si lo pasaste por el formulario mediante el input hidden
?>