Hey guys,
I've got a PHP script that writes values from Flash into a textfile. This is the code:
<?php
$filename ="offers.txt";
$handle= fopen($filename,'w');
$string = "$offerDate";
$string = "$offer";
fputs($handle, $string);
fclose($handle);
Print "_root.status=The data has been sent";
?>
The thing is, the textfile only displays the first value (which in the above would be "offerDate") How can I make all of the values be listed instead of just the first one? i.e so the text file then displays:
offerDate
offer
instead of just:
offerDate
Cheers
DJ