Latest Articles

How To Open Link In New Tab HTML

Generally, when we click on a link to a page in most of the websites, it will open the new page in the current tab. It is the general scenario of websites. But sometimes, it is more effective and user friendly to open the link of a page in a new tab. Open Link In […]

PHP MySQL Create Table

In this unit, we will learn how to create a MySQL table. To create a table with the given name, we must have the create privilege for the table. By default, tables are created in the default database, using the InnoDB storage engine. An error occurs if the table exists, if there is no default […]

JavaScript isArray() Function

Sometimes we have to make sure that a variable is an Array type object. The isArray() is basically a JavaScript function to check the object is of array type. The isArray() Function The isArray() is a predefined method of Array class in javascript. It checks wheater the input value is the Array type or not. […]

PHP Complete Form Validation

We can create and use forms in PHP. To get form data, we have to use PHP superglobals $_GET and $_POST. PHP Form Validation With Example In this unit, we see a complete PHP Form with validations. Form validation is one of the major aspects of web development in PHP. There are many vulnerabilities and […]

Difference Between Primary Key And Foreign Key

Primary key and foreign key work on different concepts of MySQL table. Before starting comparing let’s understand what is the primary key and foreign key in MySQL table. What is a Primary Key? A primary key is a single field which uniquely identifies each record in the table. Note: Every Primary key is a Unique […]