Ver Mensaje Individual
  #24 (permalink)  
Antiguo 04/03/2009, 12:11
Avatar de rogertm
rogertm
Mod->Cuba
 
Fecha de Ingreso: julio-2005
Ubicación: /home/Cuba/Habana/rogertm/
Mensajes: 2.922
Antigüedad: 18 años, 9 meses
Puntos: 638
Respuesta: Sistema de Noticias (aporte)

Creo que debe ser algo asi:
Código php:
Ver original
  1. <?php include('db-cnx.php'); ?>
  2. <?php
  3.  
  4. if(isset($_GET['not_ID'])){
  5.     $sqlQueryNot = mysql_query("SELECT notTitulo, notTexto, not_ID, notCategoriaID
  6.                                FROM sn_noticias
  7.                                WHERE not_ID = $not_ID", $db_link)
  8.                                 or die(mysql_error);
  9. }else{
  10.     echo "Error...!";
  11. }
  12.  
  13. while($rowNot = mysql_fetch_array($sqlQueryNot)){
  14.     echo "<h2>$rowNot[notTitulo]</h2>";
  15.     echo $rowNot['notTexto'];
  16. }
  17. ?>

Perdon si soy escueto es que estoy medio afiebrado
__________________
Friki y Blogger por Cuenta Propia:213
Twenty'em: Theming is Prose