There are a couple of ways to export data from MySQL to a CSV file but neither of them supports adding a header row to the CSV which contains the column names. This post looks at how to export the data from MySQL into a CSV file with PHP including a header row.
When I build websites for clients and myself, I use numerous include files to make my website easy to maintain. These include files may:
This post shows how to use PHP to extract the keywords searched on by a user when they found your website using a seach engine. Bing, Google and Yahoo are covered here and you can easily add your own to the PHP code supplied.
PHP provides some sweet functions to manage the server's hard disk. Here's how to use them.