17: What Is a While Loop in PHP | PHP Tutorial | Learn PHP Programming | PHP for Beginners

What Is a While Loop in PHP | PHP Tutorial | Learn PHP Programming | PHP for Beginners. In this PHP tutorial you will learn about while loops which are often used in PHP scripts. While loops are used to loop through multiple pieces of data one at a time. Loops can help with spitting out a lot of data using little code.


First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful :)

Material for this lesson: https://www.patreon.com/posts/php-17-download-15629318


Steve Jonk says:

my computer crashed (: hahaha

lich tran says:

The best tutorials by mmtuts … cannot say anything more … after I learned more than 600 video clips from various Youtube tutorials for Java, Java Script, python, Networking, Android, xhtml-css, MySQL

Splixz says:

Man you are the best web developement tutorial maker ive seen yet. I love watching your videos because you are explaining almost everything so well that even a dumbass like me is able to understand it. Thank you for making these great videos :) Also can you tell me what color scheme you are using in submlime? My variables arent colored and i hate it! 😀

Aaron Carillo says:

mmtuts won’t reply on this for sure

ScrappyHaxor says:

Usefull :D, By any chance do you have a forum tutorial or able to make one? im currently working on my website and i have no idea how to build a forum

Willy Requillo says:

Hi, im a newbie her. What kind of PHP text encoder you are using. Can you give me link when can I download it.

sharifa bahar says:

Awesome explanation and videos . Thanks a lot

Ralph Baracena says:

Cool tutorials you deserve my sub


You truly are the best coding instructor I have ever encountered, hands down, and I attend codeschool, codeacademy and code college. That said, I have a kind and humble suggestion: PLEASE place your TUTS on Udemy.com so that those of us who desire CERTIFICATION testing and a certificate award for the completion of your courses can achieve this. Not to mention, you will be able to further monetize your efforts as you really do deserve additional rewards for your instruction skill sets and talent.

Marko Bečaj says:

I love the way you say “loop” 😀

Rajiv Manderson says:


rakshit Chauhan says:

dude my pc crashed because of infinite loop

Write a comment


Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles▷ Show Cars▷ Motorbikes▷ Scooters▷ Bicycles▷ Rims & Tires▷ Luxury BoatsFashion▷ Sunglasses▷ Luxury Watches▷ Luxury Purses▷ Jeans Wear▷ High Heels▷ Kinis Swimwear▷ Perfumes▷ Jewellery▷ Cosmetics▷ Shaving Helpers▷ Fashion HatsFooding▷ Chef Club▷ Fooding Helpers▷ Coktails & LiquorsSports▷ Sport Shoes▷ Fitness & Detox▷ Golf Gear▷ Racquets▷ Hiking & Trek Gear▷ Diving Equipment▷ Ski Gear▷ Snowboards▷ Surf Boards▷ Rollers & SkatesEntertainment▷ DIY Guides▷ Zik Instruments▷ Published Books▷ Music Albums▷ Cine Movies▷ Trading Helpers▷ Make Money▷ Fishing Equipment▷ Paintball Supplies▷ Trading Card Games▷ Telescopes▷ Knives▷ VapesHigh Tech▷ Flat Screens▷ Tech Devices▷ Camera Lenses▷ Audio HiFi▷ Printers▷ USB Devices▷ PC Hardware▷ Network Gear▷ Cloud Servers▷ Software Helpers▷ Programmer Helpers▷ Mobile Apps▷ Hearing AidsHome▷ Home Furniture▷ Home Appliances▷ Tools Workshop▷ Beddings▷ Floor Layings▷ Barbecues▷ Aquarium Gear▷ Safe Boxes▷ Office Supplies▷ Security Locks▷ Cleaning ProductsKids▷ Baby Strollers▷ Child Car Seats▷ Remote ControlledTravel▷ Luggages & Bags▷ Airlines Seats▷ Hotel Rooms▷ Fun Trips▷ Cruise Ships▷ Mexico Tours