Hello,
How can I export HTML file using PHP?
lets say that I have variable:
$var="
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
<head>
<title>Untitled</title>
</head>
<body>
<a href='http://www.php.com'>myphp</a> best <b>php</b> website <h1>ever!!!</h1> php and myphp or phpme - <u>php!</u>!
</body>
</html>
";
and now I want to export ("save file as") this data to HTML file (text.html). Is it possible, and if yes - how?