Flash / PHP / Microsoft Access DB

so how do you connect flash with microsoft access through php instead of through asp. There is a tutorial that tells you how to connect it through asp but how would you do it with php?

Can someone give me a sample php code

$tempVar = $_GET[“flashVar”]; // this would get the variable from flash right?
// now how would i send access my database and send it to the database?