Login from MySQL Database

I want to be able to load username and password info from a MySQL to check authentication. I’m not experienced in PHP and please don’t redirect me to http://www.kirupa.com/developer/actionscript/authentication.htm. I have tried it and I get some stupid output errors in flash.

Thanks in advance.
~Zuriki :block: