is there a way to make this work:
<?php
$fh = fopen("test.html", 'w') or die("can't open file");
$stringData = echo'hello';
fwrite($fh, $stringData);
fclose($fh);
?>
Basically I want to write the output (in this case 'hello') of a php function in to a file. So basicaly it would echo the hello...