Diving into PHP: Day 4

Continuing on from yesterday, we’re going to take a look at how to pass multiple values from page to page. We’ll then use the “print_r” function and the “foreach” statement to display the information accordingly.

P.S. To stay up to date on this series, follow me on Twitter!

Day 4: Multiple Variables and the “foreach” Statement

In a week or so, I’ll show you a more advanced way to pass values – using the session object.

Download the Source Code



60

Comments