array from mysqli recordset
i have a mysqli recordset for which i need to compare the results with an array
my recordset pulls out an image name from my table like so
$rsblog = new WA_MySQLi_RS("rsblog",$PowerCMSConnection_i,0);
$rsblog->setQuery("SELECT tblblog.BlogImageURL FROM tblblog");
$rsblog->execute();
if i try and print the result object , $intable = $rsblog->Results;
i get the following..
Array ( [0] => Array ( [BlogImageURL] => image1.png ) [1] => Array ( [BlogImageURL] => image2.png ) )
what i want is more like
Array ( [0] => image1 [1] => image2.png )
*UPDATE*
I have found a function called array_column(), which works prefectly for this, it requires php5.5 but there is a workaround for prior versions
https://github.com/ramsey/array_column