Swapping in PHP is a very easy method. Swapping two variables means you have to interchange the value of variables. In this tutorial, we are going to swap two variables using PHP programming.
Create a program using the recursion method to find out the factorial of a number and factorial program using PHP for a loop. You have to use mathematics logic to find out the factorial of n number. In this example, we will learn complete basics terms in PHP.
In the function of arguments, we pass the arguments in function and define the value of variables at the end of the function call. Learn Complete function with argument using PHP.
Without argument with functions, we defined value first and call the function.No arguments to pass in the function.No parameter define in function.
Date() and time() functions are used to display the date and time on the web page. Display the Time with 12 hrs formate and also Display the day name on the webpage. Date and Time function Examples. Learn the complete PHP date and time functions.
In this tutorial, we will learn about how to create files, open, read, delete, append, close in PHP.Tutorial on Creating Files, Directories. PHP Directory Examples.
File modes are the elements used to perform various tasks. Like-Create a file, Open , Read, Delete, Append , close . File modes explained in PHP. File Modes examples.
Error handling mechanism is too important for the web applications to display the error message if the file doesn’t exist. Handle the error In PHP. How to handle error in PHP. Error handling mechanism in PHP.
In this tutorial, we will fill the information in the form and convert it into CSV (Excel )File. Here we will convert HTML form data into CSV file using PHP.
Learn how to CSV file upload and parse it , get data into the database table? Convert Excel(CSV) file data into a MySQL database table. Save excel data into a database. How to import CSV file data into a database using PHP
In this tutorial, we will learn about the PHP GET method. There is no security with the GET method if you have the password or other sensitive information to be sent.
In this tutorial, we will learn the PHP POST method. The POST method transfers information via HTTP headers. Define the POST Method in PHP. In this PHP tutorial, we will implement the PHP POST method example.
The include function used to include the file. If you want to copy another file data on a page so you can use the include() function. Define Include Function in PHP.
The require function used to include the file. If any error occurred, you will get plain warning messages or fatal errors. In this example, we will learn PHP require() function with the best resource.
The request method can access the value of the GET and post method. The superglobal variable REQUEST contains the contents of both $_GET, $_POST, and $_COOKIE.Defined Request Method example in PHP
Redirection is the operation in PHP, where users jump from one page to another. We use the header () function to redirect from one page to another.
In this tutorial, we will add two input box values and find the result in the third input box. Add two input boxes and sum in the third input box on the same page. Using three text boxes for addition in PHP
The files you create are saved inside the server. Whenever you can make it to the locally you can use this server on a single system and the organization. Whenever you visit a website, the browser sends a request on the server, then the server returns the output to related request. Difference Between Local Server and Global Server
Xampp is a local server that provides you many facilities. You can run on HTML,PHP, WORDPRESS, , PERL, Megento, etc. You cannot run your website with xammp because it is a local server . Here you can see Xampp local server how to Download xampp local server, Define xampp local server and Install xampp local server
Xampp is a local server. If you want to install a local server(xampp server ) on your own system then you can install it easily. Here you can see how to how to download and install xammp local server. The PHP xamp local server installation