You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$query = "SELECT (SELECT COUNT(*) FROM comment WHERE titleid=a.id) AS count,a.id,a.title,a.content,a.user,a.date FROM question a ORDER BY a.date DESC LIMIT 0,10";
$result = mysqli_query($conn, $query);
if(!$result){
die('错误!'.mysqli_error($conn));
}
//$json = '';
while (!!$row = mysqli_fetch_array($result, MYSQL_ASSOC)) {