Save mysql query results to HTML file in PHP -
i want save 20-30 mysql query results .html files separately.
$query = mysqli_query($link, "select....") while ($t = mysqli_fetch_assocc($query)) { // other queries , html content** <- want save these. }
so want save result, not source code, think should execute , script save html, because in future want open it.
you can use file_put_contents or fwrite
Comments
Post a Comment