Hi
I want to write a block of html to a file without having to use fwrite. ie like this
<?
$file=fopen ($filename,\"w\");
?>
Block of HTML code here. Top of Page
<?
Connect to database and generate a table.
?>
Another block of HTML. Bottom of page.
<?
fclose($file);
?>
I want to paste the raw HTML into the script.
I have tried fpassthru($file) just after fopen.
Thanks for any help
Roger