Php, mysql and actionscript

hey. i did this tutorial
http://www.kirupa.com/developer/actionscript/authentication.htm

ive had a problem with it im thinking it must be in my table as this is the only part that mite b wrong. i made the database userlogin and the table auth and all the parts were referenced in the php fine and it connects fine.

if someone has done it and knows anything i should make sure of would be much appreciated.

matt