
04/05/2011, 17:40
|
| | Fecha de Ingreso: junio-2010
Mensajes: 73
Antigüedad: 14 años, 8 meses Puntos: 1 | |
Respuesta: Funciones en php me esta dando un 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
aqui el codigo modificado
<?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;
}
?> |