select `id`,`teach_sort`,`teach_title`,`teach_note`,`teach_from`,`teach_hit`,`teach_time`
from `teaching`
where `id`='$inid'是不是这句SQL有问题?在本地phpMyAdmin里能正常运行这个SQL吗?
把$inid换成实际的ID在phpMyAdmin看是否结果正常?
from `teaching`
where `id`='$inid'是不是这句SQL有问题?在本地phpMyAdmin里能正常运行这个SQL吗?
把$inid换成实际的ID在phpMyAdmin看是否结果正常?
是为空,可是前一个程序明明带着参数啊~
gg.php?sort=1&inid=56
那为什么传不过来呢?