Is there a simple way to convert a mysql query result object into an array (rather than an object?)
ie. say I run a query against a mysql database in order to show the results in a table:
$result= mysqli_query($link,$sql);
//...then run the result through the code that displays the table...that all works fine
BUT when I try to print_r($result) at the end of the process, all I see is the statement
"mysqli_result Object ( ) " is there a way to simply convert the object into something (ie an array) that can be used again for other purposes without re-running the query?
Thanks for any suggestions.