Latest Articles

PHP Form URL/Email

Email and URL address form field validation is easy in PHP. There are inbuilt functions available to validate Email and URL addresses. PHP Form Email Validation There is no way to be 100% sure if an e-mail address is working unless we send an e-mail. What we usually do is check if the syntax of […]

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 are the PHP mail function and the PHP SMTP mailer. Before starting, let’s get some basic information about PHPMailer and PHP mail function. Even more, we will see why PHPMailer is better than the PHP […]

JavaScript insertBefore() Method

Sometimes we need to insert an element at a specific position, or we need to insert an element before any particular element. At that time we can use JavaScript insert before method. The InsertBefore() Method JavaScript insertBefore() method inserts a node at the specified position between HTML DOM elements. Also Read: JavaScript appendChild() Method Example […]

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 to our requirements. PHP array provides the index number to each of the array elements. These index numbers are used to perform different operations on arrays. For example: According to the index number of the […]

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. We can easily modify, view, or manage the tables created in the MySQL database using MySQLi functions. We have to create a connection variable using mysqli_connect in PHP which connects with MySQL. MySQLi Connect in […]