(Hint: Wrap your code samples in either [ code ] or [ php ] tags to make it easier to read)
Erm, eh. Well, what's the problem exactly? It looks to me like you are printing rows and columns just fine?
I'll take a stab, but I don't know what you're exactly expecting so hopefully you will at least be able to clarify your question...
You can echo each cell individually if you like (I use [man]print/man but use [man]echo[/man] if you like)
print('<TD>'.$row['name'].'</TD>');
print('<TD>'.$row['phonenumber'].'</TD>');
print('<TD>'.$row['age'].'</TD>');
If you want to handle data by printing out columns in order rather then rows (eg trying to print everyone's name, then everyone's phone...), then just don't. You may be able to do it since nothing is impossible, but data in a set should be handled in rows.
Now, either I've helped (yay) or you can hopefully clarify you question 😃