PHP

How to Sort Array in PHP [Explained With Examples]

Sometimes we need to sort the data of an array in either ascending order or descending order. It is always…

5 years ago

What Is Isset() Function in PHP and How to Use It

Sometimes you require to check wheater the variable is set with the value or not. And based on the result,…

5 years ago

What Is the PHP Array Foreach Loop and How It Is Different From for Loop

In PHP language, there are different types of arrays like an indexed array, associative array, and multidimensional array. We use…

5 years ago

PHP MySQL Insert Data

In this unit, we will see how to insert data into database tables. To insert data into the MySQL table,…

5 years ago

PHP MySQL Create Table

In this unit, we will learn how to create a MySQL table. To create a table with the given name,…

5 years ago

PHP Complete Form Validation

We can create and use forms in PHP. To get form data, we have to use PHP superglobals $_GET and…

5 years ago

PHP Form URL/Email

Email and URL address form field validation is easy in PHP. There are inbuilt functions available to validate Email and…

5 years ago

How to Send Emails From PHPMailer Using SMTP

There are lots of methods to send an email in core PHP. There are two most commonly used methods, which…

5 years ago

What Is PHP Array Index? Explained With Example

In PHP language, there are different types of arrays like: Indexed array Associative array Multidimensional array We use them according…

5 years ago

PHP MySQLi Connect

In this article, we will learn about mysqli_connect and how to use mysqli_connect to use a MySQL database with PHP.…

5 years ago