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

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -