PHP | Page 2

Swapping Two variables


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.




PHP: Factorial recursion program


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.




PHP Function With arguments


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.




Function Without arguments | No parameters


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 - PHP Examples


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.




PHP File Operators


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.




PHP: File Modes


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 in PHP


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.




HTML form data convert into excel file using PHP|CSV file format


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.




Upload a CSV(excel) file and import into database using PHP and MYSQL


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




GET method in 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.




POST Method in PHP


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.




PHP: include() function


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.




PHP: Require() Function |Difference from include() function


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.




PHP: Request Method | Variable


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




PHP: Redirection


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.




PHP: Add two input box values and sum in third box


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




Local server vs Global Server .| Difference Between Local Server and Global Server


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




What is Xampp Server ? | Local 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




How to download and Install Xampp local sever?


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