I am trying to extract x number of recently searched terms and display them. I don't know why I am getting this result:
<?php
$query = "SELECT * FROM SEARCH_TERMS ORDER BY SEARCH_TIME";
$result = mysql_query($query);
while($arr = mysql_fetch_assoc($result)){
extract($arr);
echo "$arr | ";
}
?>
Result:
Array | Array | Array | Array |
Why am I only getting "Array" on everything and not the actual values?