INSERT SELECT UPDATE AND DELETE WITH PDO

CRUD is most important thing in any programming language. After reading Programming basics ,we move to CRUD(create,read, update, delete). When we use MySQL database ,it is recommended to use PDO to secure web application from SQL injection. How to use mysqli_connect in PHP How to Setup MySQL Connection Using PDO in PHP In this tutorial, … Read more

Detect Internet Connection with JavaScript

Detect Internet Connection with JavaScript

Sometime, it becomes necessary to know about status of internet connectivity. We can know about internet connectivity in PHP also, but it is not good practice. Using client side language to detect internet connectivity is good practice because it gives connection status without reloading a page. So, using browsers property (navigate.online) we can easily confirm … Read more

How to Setup MySQL Connection Using PDO in PHP

How to Setup MySQL Connection Using PDO in PHP

In previous article, we have discussed that MySQL is depreciated and their alternative options are MySQLi and PDO(PHP Data Object) . In that you have learned how to set up connection using MySQLi in PHP with procedural and object-oriented approach. In this tutorial you will get how to set up a PHP MySQL connection using … Read more