Pre/Post Increment, Decrement
We touched on these features in PHP before, now lets go a little deeper into the operation of these functions.
(more…)
Pre/Post Increment, Decrement
We touched on these features in PHP before, now lets go a little deeper into the operation of these functions.
(more…)
File Close
The next step after you have opened a file is to close that file.
Description
In PHP it is not required to close all your files after using them because the server will close all files after the PHP code finishes execution.
File Close Function
In a previous section, we had a call to the function fclose to close down a file after we were done with it. (more…)
Files
Working with files is a basic necessity for programmers and PHP gives you a great facility for creating, uploading, and editing files. This section is completely dedicated to how PHP can interact with files. After completing this section you should have a solid understanding of all types of file manipulation in PHP. (more…)
Arrays
An array is a data structure that stores one or more values in a single value. For experienced programmers it is important to note that PHP’s arrays are actually maps ,each key is mapped to a value. (more…)
Post and get method of form.
Recall from the PHP Forms Lesson where we used an HTML form and sent it to a PHP web page for processing. In that lesson we opted to use the the post method for submitting, but we could have also chosen the get method. This lesson will review both transferring methods. (more…)