Is there a MySQLi Server Behavior equivalent for mysqli_fetch_assoc?
I am currently accessing my db directly with mysqli like this:
$result = $mysqli->query("SELECT * FROM database ORDER BY col1, col2, col3 ASC");
and then using this statement:
while ($items = mysqli_fetch_assoc($result)) { //stuff I do }
I have no problem with the query but I am probably missing something simple when it comes to the mysqli_fetch_assoc($result), is there MySQLi Server Behavior equivalent for mysqli_fetch_assoc?
I have tried: while ($items = $myquery->Results) { //stuff I do }, but this does not work.
Any clue would be great.