Last updated on March 31st, 2022 at 10:26 amThis is a simple tutorial that shows how to get the size of the MySQL database using php. This works in all latest PHP versions. We are using mysqli_connect function. The query we are running to find the size of the database is SHOW TABLE STATUSWe are […]
Page 45 of 58
Last updated on April 27th, 2022 at 10:12 amIn this tutorial we are going to see how to lock a text file before writing data using php. When a developer uses text file instead of SQL or MYSQL or any other database for their website, many will come across issues due to simultaneous insertion of […]
Last updated on August 9th, 2022 at 09:55 amThis script will show you how to take complete MySQL database backup by running the PHP script. Then Email the backup file as an attachment. Steps involved Take complete MySQL database backup Gzip the file Send the file as an Email attachment. Modify these variables according to […]
Last updated on February 9th, 2022 at 10:45 amThis script will call a function and then prompt user that they are leaving the web page. Here is the sample code. You might also be interested in this tutorial on Detecting browser close event using javascript. In the above code you can see that before I […]