//用函数读出数据表内容放入二维数组 //动态sql语句 //以读出点击次数表为例。 function list_hit($fields,$where,$order,$direction,$limit,$conn) { if ($fields=="") {$fields="hit_id,banner_id,hit_ip,hit_time";} if ($order=="") {$direction="";} $sql="select $fields from hit $where $order $direction $limit"; //echo $sql...
[ 查看全文 ]