标签:ar for art as 时间 sql res br table
$sql = "SELECT user_name,mobile,reg_time FROM " . $ecs->table(‘users‘) . " WHERE parent_id =".$user_id;
$result = $GLOBALS[‘db‘]->getAll($sql);
foreach($result AS $k=>$v){
$result[$k][‘restime‘] = date("Y-m-d",$v[‘reg_time‘]);
}
$smarty->assign(‘result‘, $result);
标签:ar for art as 时间 sql res br table
原文地址:http://www.cnblogs.com/www-xiaobo-com/p/4172568.html