Topics in PHP

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 […]

PHP MySQL Database

MySQL is one of the popular relational database systems. With PHP, we can connect and manipulate MySQL databases. MySQL Database With PHP In this article, we will learn about the PHP MySQL database. PHP supports mostly all databases, like Oracle, MySQL, MariaDB, MongoDB, etc. Most commonly used is the freely available MySQL database. MySQL is […]

What Is the PHP Session, and How to Use $_SESSION

The PHP session helps store user information at the client-side, which can be accessed on multiple pages. What is the Session in PHP? When a user surfs on the internet, the webserver doesn’t know who the user is and what he does. So, session variables are used to identify the user by storing the user’s […]

PHP Form Required

PHP required fields mean the input fields in a form must be filled if the user wishes to proceed with the form submission process. An asterisk (*) sign is useful to mark the required fields.4 PHP required fields are also programmed to display error messages when left empty. In this unit, we will learn how […]

PHP Form Validation

Form validation is one of the major parts of web development in PHP. A PHP form is vulnerable to several threats, especially during the submission. If the forms are not submitted securely then unwanted viruses and malware can harm the PHP host server and database. Read Also: PHP Form Handling Form Validation in PHP The […]