Necesito ayuda con error mysql_fetch_array()
Avatar Image
Usuario Novato
Usuario Novato

hola a todos, mi pagina me esta generando este error.

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/u809174526/public_html/buypixel.php on line 7.

aqui les pego el codigo php, para que me puedan ayudar con este error...

<?php
include("header.php");
include("inner_header.php");
include_once("includes/configure.php");
include("includes/database_tables.php");
$q_page_data = mysql_query("select * from " . TABLE_BUYPIX_PAGE . " where id=1");
$f_page_data = mysql_fetch_array($q_page_data);
?>
<table align="center" width="95%" height="1000" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><?php echo $f_page_data['page_code']; ?>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><input type="button" name="buypix" value="Buy Pixels" class="button" onClick="javascript:window.location='index.php'"></td>
</tr>
</table>


<?php
include("inner_footer.php");
include("free_footer.php");
?>

Avatar Image
@man / @woman
@man / @woman
Escrito originalmente por @kokesoft22

hola a todos, mi pagina me esta generando este error.

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/u809174526/public_html/buypixel.php on line 7.


$q_page_data = mysql_query("select * from " . TABLE_BUYPIX_PAGE . " where id=1");

?>

Y esta busqueda ¿devuelve algun resultado válido?

ATENCIÓN: Este tema no tiene actividad desde hace más de 6 MESES,
te recomendamos abrir un nuevo tema en lugar de responder al actual
Opciones:
Permisos:
TU NO PUEDES Escribir nuevos temas en este foro
TU NO PUEDES Responder a los temas en este foro
TU NO PUEDES Editar tus propios mensajes en este foro
TU NO PUEDES Borrar tus propios mensajes en este foro
Ahora son las 11:59 UTC+02:00 DST
Ir al subforo:
Temas similares
TemaUsuariosRespuestasVisitasActividad
shoecillo02kJun/04
Kique_loz NoSetup.org1948Nov/14
pinkspain4ever .WIZARD. ivanitoweb63kAug/04
distribuidoraumg GestionXls12kJun/09
yair0010 GestionXls NoSetup.org23kSep/16