数据库里有图片的现对路径,怎么在网页中显示出来PHP

2025-03-22 05:18:59
推荐回答(1个)
回答1:

$sql="select `name`,`你的图片路径` from `tb_tpsc` where `id` = '".$_GET[recid]."'";
$result=mysql_query($sql,$link);
$name=mysql_fetch_array($result);


    
        
            " width="225" height="160">