以下函数返回Resource id #11
. 如何用我现在的代码解决这个问题?
function GET_PAGE() {
global $page;
if(isset($_GET)) {
foreach($_GET as $key => $value){
$query = "SELECT * FROM pages WHERE title = '{$key}'";
$page = mysql_query($query);
confirm_query($page);
return $page;
}
}
}