I have got this script:
<?php
$filename = 'test.txt';
$handle=fopen ('board/' . $filename, "r");
$contents=explode("'", fread ($handle, filesize ('board/' . $filename)));
?>
say I want to remove $content[3] from the array and rwrite the file, what would be the best way to do this? is there maybe a special command for this?
thanks 🙂