public function get_real_name($search){
//装在数据库操作类
$DB1=$this->db->database('vm',TRUE);
$DB2=$this->db->database('manage',TRUE);
//查询是否有验证信息
$res=$this->$DB1->select('*')
->from('real_name')
->where('user_id',$search['user_id'])
;
if($res){
$this->db->select('r.*,u.name AS `user_name`,u.`realname`')
->from('`real_name` AS r')
->join('`user` AS u','r.user_id = u.id','left')
->where('u.id',$search['user_id']);
}else{
$rs=$this->$DB2->select('realname')
->from('user')
->where('id',$search['user_id']);
}
}图片不会发 只好发代码了
请问,set_radio() 这个不起作用是什么原因?
有没有一套完整的分页类的实例,共享一份出来参考参考,谢谢.
zhuqx1130 发表于 2008-7-27 14:46
CodeIgniter框架必须要有IIS吗? 有apache http server不可以吗?
取决于,生产环境
XK_XK 发表于 2015-7-10 10:43
有没有一套完整的分页类的实例,共享一份出来参考参考,谢谢.
自己先尝试写一个,这样才能提高
CI得到GET和POST数据的时候用什么方法才是安全的
ci 前后台分离,为什么后台admin.php 找不到路径 报404?????
:lol:lol:lol:lol:lol:lol:lol:lol:lol:lol:lol:lol
问下 Hex 知道 CI 4 有没有大体的发布时间计划?我就是问问,如果今年能发布的话我就直接用 4 做个小东西。今年没希望的话只能用 3了。
Cannot use object of type stdClass as array