Multiple Variables

Hi
I would like to save multiple variables to a file on my server. The tutorials on this site using PHP as a high score counter is close to what i need, but i need it to save more than 1 variable in the file. Can anyone give me a tutorial or show me how to do this?
Thanks

P.S. Here is what I woud like to do
In Flash > click on a button > go to PHP > saved in txt file
In Flash > click a DIFFERENT button > go to PHP > save a DIFFERENT variable