Angrywolf has a module called "Activeusers" it will output a channel listing to a text file (wich then you can script into a database). Or do like i do and just have a php script read the raw file and format the data.
Never argue with an idiot. They will bring you down to their level, then beat you with experience.