对于sql2执行的查询,chrome日志返回null
while($row = $result1->fetch_assoc())
{
$temps = $row['testID'];
$sql2 = "CREATE TEMPORARY TABLE temphelp (SELECT * FROM help where testID = '$temps');select * from temphelp where available = 1 order by url_count asc LIMIT 0,1;";
ChromePhp::log($sql2);
$result2 = $conn->query($sql2);
ChromePhp::log($result2->num_rows);
}