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

Código PHP:
Ver original
  1. <?php
  2. include('../../../Connections/basededatos.php');
  3. $result = mysql_query("select * from registro where correo = '$_SESSION[MM_Username]' ",$basededatos);
  4. $row = mysql_fetch_array($result);?>
  5.  
  6. <h1>Bienvenido</h1>
  7. <h4>
  8. <?php
  9. echo ($row["nombre"]);
  10. echo (" ");
  11. echo ($row["apellido"]);
  12. mysql_close($basededatos);
  13. echo (" ");
  14. ?></h4>