Hi! Just a quick question - Is there any way of setting which line is written to with the ‘fopen’ statement? I currently have:
$file=fopen(“example3.xml”, “a”);
fwrite($file, $str);
which obviously writes $str to the end of $file, but Im wanting to write it to the second line in the file.
Thanks!