home
Guest
Signup/Login
to unlock all features
[quote uid=eaweb pid=1898] [b]Example 4[/b] We will be working with [i]session[/i] functionality of php in this example. Sessions are used for storing data in php. The beauty of sessions include the ability to access saved data on multiple files/pages. For example in example 3 we had a form that collects our name and year of birth (data), we can use session to save these data and have an even cooler app. Get set, let's go. Create a file (call it write.php) and type in the following: Save and then create another file (call it read.php) Type in the following: Save and run write.php then read.php on your browser. [/quote]