Passing HTML string or HTML file to fwrite
Posted: Fri Apr 14, 2006 11:26 pm
How can I pass an an html string to fwrite?
Is this the correct way?
Or, how to pass an HTML file to fwrite?
Is this the correct way?
Thank you in advanced.
Is this the correct way?
Code: Select all
<?php
fwrite($fp, "<b>First Name:</b> $body<br>");
?>Or, how to pass an HTML file to fwrite?
Is this the correct way?
Code: Select all
<?php
fwrite($fp, "myfile.html");
?>Thank you in advanced.