How do i do this

do any know the formating code in flash mx AS and PHP to do this…

http://www.clubcrawlers.com/listings.php
reason i ask is i trying to do this type of format and have the results from the query look like this…