Ver Mensaje Individual
  #17 (permalink)  
Antiguo 30/04/2010, 03:07
Avatar de Flow89
Flow89
 
Fecha de Ingreso: abril-2010
Ubicación: Valladolid
Mensajes: 346
Antigüedad: 14 años
Puntos: 1
Respuesta: Gestor de Noticias para HTML con PHP [novato]

Cita:
Iniciado por Flow89 Ver Mensaje
He sustituido mi procesanoticia.php por la sentencia que tu me diste Vallu

y me tira el error


Fatal error: Cannot use [] for reading in /home/a7366460/public_html/procesanoticia.php on line 2

no puede hacer el print_r($_POST[]);


Para comprobar que variables me llegaban y que contenido tenian he usado esto
$titulo=$_POST[titulo];
$autor=$_POST[autor];
$categoria=$_POST[categoria];
$articulo=$_POST[articulo];
echo "$_POST[titulo]";
echo "$_POST[autor]";
echo "$_POST[categoria]";
echo "$_POST[articulo]";


Y me llegan todas ;S