Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/04/2010, 16:38
Avatar de reborn
reborn
 
Fecha de Ingreso: febrero-2010
Mensajes: 440
Antigüedad: 14 años, 2 meses
Puntos: 1
Respuesta: Mostrar datos al mismo tiempo que se registran.

Pero el problema no es con la noticia, sino con el comentario.

Yo tengo el archivo visor.php el cual muestra la noticia y ahi tambien incluyo el archivo agregar-comentario y ver-comentario.

Código PHP:
<?php
      
include('db-cnx.php');
      
$not_ID $_GET['not_ID'];
 
$sqlQueryNot mysql_query("SELECT * FROM sn_noticias WHERE not_ID = '$not_ID'"$db_link)
      or die(
mysql_error);
      while(
$rowNot mysql_fetch_array($sqlQueryNot)){
      echo 
$rowNot['notTitulo'];
      echo 
$rowNot['notTexto'];
      echo 
"Creado por $rowNot[notUser]";
}
      
?>
<?
      
      
include 'ver-comentario.php';
      include 
'agregar-comentario.php';
?>
Si utilizo esa cabecera no hace efecto al mostrar de esa manera los archivos, ya segui tu ejemplo.