Re: Php doesn't like me
ok, so in php lets say you wanted to append a string to a diffrent string you would do this
1. <?php
2. a = "Hello";
3. a .= " World!";
4. echo a; // Outputs: Hello World!
5. ?>
now, if you wanted to append info to a file do this
my_file = 'file.txt';
handle = fopen(my_file, 'a') or die('Cannot open file: '.$my_file);
data = "" data line 1';
fwrite($handle, data);
new_data = "\n".'New data line 2';
fwrite(handle, new_data);
and lets say, you closed that comment topick.
, you could do that by deleting the file like this.
my_file = 'file.txt';
unlink(my_file);
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector