PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
compares $menurow to what's returned by mysql_fetch_array(), just an = too much.
And it's only getting one row (function's name maybe is confusing, but mysql_fetch_one_row_as_array is way too long )
Take a look at http://www.php.net/manual/en/function.m ... -array.php as there are also examples how to retrieve the whole result-set.