Need help with as3 + mysql

Hi.

I’ve a huge trouble with as3 and mysql connection. I’m making a really simple multiplayer card game where you need to fight with your card against other player card.

But anyways I need mysql database for the game and I’ve created one. I still haven’t figured out how to create mysql connection with flash. I’ve used mysql with php before and I don’t have any troubles in that.

I’ve downloaded amfphp from http://www.amfphp.org, but now the pages has stopped working and I can’t go read the docs.

So could somebody give me a hint or something how to create mysql connection with or without amfphp.