How do you make a PHP script run a process many times? Write a for loop! Learn how for loops work, and how to use them to repeat commands in PHP scripts.
Take programming conditional statements to the next level with “foreach” loops! Learn to use a PHP loop to store and print values in a multidimensional array!
Before you can use a PHP function, you need to include the needed files. Learn to use the include and require commands to make other files part of PHP scripts.
PHP functions can do a lot, but before you can do fancy coding, you’ve got to learn the basics. Learn to write functions, and call them with PHP scripts.
PHP functions let you repeat a process multiple times within the same program. Learn how to build, include, and call a PHP function with arguments.
- Recommended Recommended
- History & In Progress History
- Browse Library
- Most Popular Library
Get Personalized Recommendations
Let us help you figure out what to learn! By taking a short interview you’ll be able to specify your learning interests and goals, so we can recommend the perfect courses and lessons to try next.Start Interview
You don't have any lessons in your history.
Just find something that looks interesting and start learning!