Ver Mensaje Individual
  #9 (permalink)  
Antiguo 08/08/2008, 14:32
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años, 8 meses
Puntos: 2135
Respuesta: Problemazo con el fetch_array

Prueba esto:
Código PHP:
$idmayor $idmayor['id'];
$cont_post=mysql_query("select titulo,contenido,autor,fecha,id from post where id='$idmayor'",$db) or die("error en query:".mysql_error());
$post=mysql_fetch_array ($cont_post);  
var_dump$post ); 
Si te marca array(0) {} es que no existe nada con ese ID.

Saludos.