Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/05/2011, 17:43
chavewain2
 
Fecha de Ingreso: junio-2010
Mensajes: 73
Antigüedad: 14 años, 8 meses
Puntos: 1
Error en fiuncion

CODIGO

<?php
include_once('conexion.php');
function get_registers(){

$result = mysql_query('SELECT * FROM qa_database where id_post = '.$_GET['id_post']);

$row = mysql_fetch_object($result);

return $row;
}
?>

ERROR

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\wamp\www\chavez\FORM2\pagination\pagination\2\e dit_Ad.php on line 8