Handling NuLL Example You can use the if…else condition to prepare a query based on the NULL value. The...
Article
Using Joins Example Join query in PHP uses mysqli query() or mysql_query() function to get records from a MySQL tables...
Like Clause Example PHP uses mysqli query() or mysql_query() function to select records in a MySQL table using Like clause. This...
Where Clause Example PHP uses mysqli query() or mysql_query() function to select records in a MySQL table using where clause. This...
Select Records Example You can use the same SQL SELECT command into a PHP function mysql_query(). This function...
Create Database PHP uses mysqli query() or mysql_query() function to create a MySQL table. This function takes two parameters and returns...
DataBase Example PHP uses mysqli_select_db function to select the database on which queries are to be performed. This function...
Connect DataBase Example PHP provides mysqli contruct or mysqli_connect() function to open a database connection. This function takes six parameters and...
Environment Setup In order to develop and run PHP Web pages, three vital components need to be...
ObjectId-MongoDB We have been using MongoDB Object Id in all the previous chapters. In this chapter, we...