In Php, if-elseif-else statement are used to perform different actions based on different conditions.
Popular Post: Php
The switch-case is same like if-elseif-else statement, The switch statement is used to perform different actions based on different conditions.
In Php, Loops are used to execute block of code a specified number of times. Php supports four loops - for, while, do-while and foreach loops.
A function is a block of code that performs a specific task. In this tutorial, you will learn how to define your functions.
An array in PHP is actually an ordered map. It is used to hold multiple values of similar type in a single variable.
Superglobals are variables can be accessed from any function, class or any file without doing any special task.
Php Regular Expression (Regex) is a sequence of characters describing a special search pattern in the form of text string.
To handle Php form we use PHP superglobals $_GET and $_POST. To retrieve data The form request may be get or post.
this tutorial will show proper validation of the form with security to protect your form from hackers and spammers.
In Php, required fields means the input fields must be filled if the users want to submit the form without any error messages alert.
In this tutorial, we will learn how to Validate Name, Email, Url into the form. If the value of the name field is not valid, then store an error message.
One of the most powerful features of PHP is to handles HTML forms using POST to get value from text, radio button, drop down menu, and checked box.
In Php, We can use date() function to get the current local data and time in various format.
In Php, include() and require() statement allow you to include the code contained in a PHP file within another PHP file.
In Php, File handling is used to create a file, reading file content, writing into a file and closing the file.
In this tutorial, we are going to learn file handling in PHP. I will show you how to open & read files in PHP by using the built-in file handling functions.
In this tutorial, we are going to learn file handling in PHP. I will show you how to create & write files in PHP by using the built-in file handling functions.
A PHP script can be used to upload many types of files to the server with a HTML form.
In Php, Cookies are a mechanism for storing data in the remote browser and identifying return users. You can set cookies using the setcookie().
PHP Session is used to store and pass information from one page until user close the website. Session is not stored on the users computer.