Category Archives: Database
How to use PDO database connection in PHP
As we all know that in PHP 5.5 MySQL is deprecated and we have to move new extensions like MyQLi or PDO (PHP Data Objects) for database integration, we have already publish an article on How to use MySQLi_connect PHP and this article will explain you how to connect with MySQL database using PDO connection and we explain very few things in this tutorial like database connection, insert, delete, update and select queries with prepare statement, multiple insert and error handling.
[ Read More ]
How to use MySQLi_connect in PHP
As you all knows that MySQLi is improved PHP extension of MySQL which is introduced in PHP 5. MySQL is deprecated in PHP 5.5 will be removed in future. We have millions of applications using PHP MySQL and needs to be updated on MySQLi or PDO (PHP Data Objects is also a new extension you can use to use in your applications). So today i am going to give you a very simple integration guide of MySQLi how to connect to a database, how to run a query and insert records etc hope you love this article.
[ Read More ]
How to Callback Cross Domain Data with Jquery & JSON
In this Tutorial I am going to explain you that how you can callback cross domain data with jQuery and JSON(JavaScript Object Notation) is a lightweight data-interchange format.
[ Read More ]
Submit a form without page refresh PHP & jQuery
In this tutorial we have a simple form with name, email & phone number. The form submit all fields to a PHP script without page refresh, using native jQuery method (native meaning, you don’t need to download any extra plugins to make it work.
[ Read More ]
Mysql Stored Procedure in PHP
Are you making stored procedures if not please have a look at this.
Stored procedures can help to improve web applications and reduce database requests traffic. This post explains you how to make procedures and decrease database requests.
[ Read More ]