Hi can anyone help me please

my php script (upon somebody pressing a button in flash) receives a variable and thats fine.

$textentry

This variable contains a string like "hello".

I then want it to be added to an array called ResultsArray at position 1

The next time a button is clicked I want $textentry to be stored in ResultsArray position 2.

And so on and so on for each entry incrementing the ResultsArray[] key by 1 each time.

I'm new to php can anyone suggest how I do it?

Many Thanks

Bottlebank