I dunno if there is a built in function - I am new to MySQL and PHP - but you could loop through the entire database printing each record in CDF (Comma Delimited Format).
i.e.
Name1, Address1, Tel1, Age1,
Name2, Address2, Tel2, Age2,
...
Excel accepts this format without problem.
BG