Ver Mensaje Individual
  #8 (permalink)  
Antiguo 22/12/2009, 07:08
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 6 meses
Puntos: 334
Respuesta: problemas con foto ya he hecho un par de temas pero es que no me sale no h

Código PHP:
Ver original
  1. <?php
  2. header("Content-Type: image/jpeg");
  3. $link = mysqli_connect($hostname,$user,$password,$database );
  4. $query = "select foto from foto where id_foto= $_GET[id_foto] ";
  5. $result = mysqli_query($link, $query);
  6. while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)){
  7.     echo "{$row['foto']}<br>\n";
  8. }
  9. mysqli_close($link);
  10. ?>

ve si se ve la foto
__________________
More about me...
~ @rhyudek1
~ Github