php代码
//万能单条件查询函数,由lisan制作
//函数代码请放于位于项目目录下Common/Common.php中
function Getx2x($table,$fields,$id,$str){
$aa=M($table);
if(empty($str)){
$expression='getByid';
}else{
$expression='getBy'.$str;
}
$thisaa=$aa->field($fields)->$expression($id);
$bb=explode(',',$fields);
if(count($bb)
php免费学习视频:立即使用
踏上前端学习之旅,开启通往精通之路!从前端基础到项目实战,循序渐进,一步一个脚印,迈向巅峰!










