Ma perché non metti l'echo dentro il while?


Codice PHP:
while ($w mysql_fetch_array($result6)) {
    echo 
$w['menu'];

tutto qua.

Edit: secondo