关于这个报错的表格我不知到怎么去做,下面的是代码:
<?php
header('content-type:text/html;charset=utf-8');
session_start();
include_once '../include/conf.php';
include_once '../include/func.php';
include_once '../include/mysql.func.php';
check_login();
$pageSize=8;
$pageLen=7;
$page=isset($_GET['page'])?$_GET['page']:1;
$page=$page<=1?1:page;
$table = 'pj_news';
$link = my_conn(HOST,USER,PASS,DB);
$re=select('$link','$table','count(id)');
$count=my_fetchOne($re,2);
$countNum=$count[0];
/*var_dump($lik);
exit;*/
$result = my_select($link,$table,'*');
$news_list = my_fetchAll($result);
foreach ($news_list as $key => $value) {
$result = my_select($link,$table,'*');
$news_list[$key]['son'] = my_fetchAll($result);
}
gudufeng
慕粉4199579
大功率台灯4408991
weibo_蓉芳107_03763669
雪颲
这都不会
慕的地6079101