我试图显示从数据库中获取的图像,但是我无法显示该图像。它显示为user-1.jpg
。请查看我的代码,有人能指导我如何显示图像吗?
$sqlimage = "SELECT image FROM userdetail where `id` = $id1";
$imageresult1 = mysql_query($sqlimage);
while($rows = mysql_fetch_assoc($imageresult1))
{
$image = $rows['image'];
print $image;
}