Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/05/2011, 15:24
djmkmix
 
Fecha de Ingreso: abril-2011
Ubicación: Baja California sur
Mensajes: 39
Antigüedad: 13 años
Puntos: 0
mysql_fetch_array():

Ojala me puedan ayudar en localhost no me da error pero subiendolo al servidor si, una consulta con mysql_fetch_array

el error es: mysql_fetch_array(): supplied argument is not a valid MySQL


Código PHP:
<?php
$result 
mysql_query("select * from registro where correo = '$_SESSION[MM_Username]' ",$basededatos); 
$row mysql_fetch_array($result);?>

<h1>Bienvenido</h1>
<h4>
<?php
echo ($row["nombre"]);
echo (
" ");
echo (
$row["apellido"]);
mysql_free_result($result);
mysql_close($basededatos); 
echo (
" ");
?>