1.
$selectCount="select count(*) from products where PSPID in (select SPID from sproducts where SGPID =$GPID) order by Pdate desc ";
将 order by部份去掉。
2. 你的UID如果是整数型,将
$select_user = "select Utruename,Ucompany,Utel,Uemail from users where UID='$arr_sprod[PUID]'";
改为
$select_user = "select Utruename,Ucompany,Utel,Uemail from users where UID=".$arr_sprod[PUID];
我也来说两句 查看全部评论 相关评论