![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
30/10/2008, 19:28
|
| | Fecha de Ingreso: abril-2008
Mensajes: 24
Antigüedad: 16 años, 9 meses Puntos: 0 | |
Respuesta: Mostrar imagen de Base de datos. Lo he puesto pero me da este error:
Warning: mysql_query() [function.mysql-query]: Access denied for user 'apache'@'localhost' (using password: NO) in
Lo he puesto asi:
$rs=mysql_query("select user_avatar from mb_users where user_name='".$usuario."'");
if($row=mysql_fetch_row($rs)){
echo "<img src='".$row[0]."' >";
} |