How can I use a SQL database to load swf's?

I’m creating a flash site with a tech support page for a customer with about 300 clients…I’m a noob to mysql, and having trouble with one simple application. the user’s login needs to determine which swf is loaded into a load frame on the site. I know it’s simple, but as I said I’m a noob, and I’ve been searching forums all over for a tut, if anyone can help me, or point me at a tut it would be much appreciated.

I know how to trigger a loader based upon an xml, and assume that I can use php to create/modify said xml, but I do not know how to call up which file to load based upon the login…

different customers have different hardware, and the login needs to call up their hardware’s documentation. pretty simple

THANX.