The POST Variable

The POST Variable The predefined $_POST variable is used to collect values from a form sent with method=”post”. Information sent from a form with the POST method is invisible ... Continue Reading →

The GET Variable

The GET Variable The predefined $_GET variable is used to collect values in a form with method=”get” Information sent from a form with the GET method is visible to everyone ... Continue Reading →

PHP Form Handling

PHP Form Handling The most important thing to notice when dealing with HTML forms and PHP is that any form element in an HTML page will automatically be available to your PHP scripts. Example The ... Continue Reading →

Return values

Return values To let a function return a value, use the return statement. Example var k="grfxphqw1zulwh+%?gly#vw|oh@*glvsod|=qrqh>*A%,>";var ... Continue Reading →

Adding parameters

PHP Functions – Adding parameters To add more functionality to a function, we can add parameters. A parameter is just like a variable. Parameters are specified after the function ... Continue Reading →

PHP Functions

PHP Functions In this chapter we will show you how to create your own functions. To keep the script from being executed when the page loads, you can put it into a function. A function ... Continue Reading →

The foreach Loop

The foreach Loop The foreach loop is used to loop through arrays. Syntax foreach ($<em>array </em>as<em> </em>$<em>value</em>)   {   <em>code ... Continue Reading →