How do I export a recordset as an HTML file; ready for download in a web browser with download options (such as Save or Save As)? I think I known how to write an HTML file using the following code:
Code:
<?php
$filePointer = fopen("data.html", "r");
fputs($filePointer, "<HTML>Code</HTML>")
fclose($filePointer);
?>