Rating click

Hi all
I have a small website with 5 navigation buttons.
Everytime when user clicks the button I would like to send a message that button has been clicked xnum of times…to db

I have just installed xampp…and reading through.

my approach
//===============
first I would create 5 tables in mysql with increment setting
//===
but how do I use php to send the click counter from flash?

can anyone help me?

thanks