Flash cs3 AS3

Guys i m new to as3 and php… I m trying to send a variable from flash to php…
Say var i:Number = 0;

i want to get this value in php…(Same i value) it is urgent for me to finish my project connecting flash php and mysql… plzzzz help me to finish my project;(;(;(