|
本帖最后由 forever 于 2009-6-5 09:27 编辑
控制器页
$qlist=$this->db->get('users');
//if($qlist->num_rows>0){
$listrow=$qlist->row();
$data['listall']=$listrow;
//echo $listrow;
$this->load->view('list',$data);
list.php
<?php foreach $listall as $clist?>
<?php echo $clish[0]->username;?> |
|