iquery arr

iquery_arr

1 PHP --- MySQL[ | ]

function iquery_arr($qry) {
	global $mysqli;
	$result = $mysqli->query($qry);
	if($result === false) die("Query: [[ $qry ]] → Error: ".$mysqli->error);
	$arr = array();
	while($row = $result->fetch_array(MYSQL_NUM)) $arr[] = $row[0];
	return $arr;
}

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}