While Loops: PHP Tutorial

Jazeb Akram
A free video tutorial from Jazeb Akram
Data Scientist, Developer Consultant
4.2 instructor rating • 11 courses • 74,425 students

Learn more from the full course

The Complete PHP MYSQL Professional Course with 5 Projects

Learn PHP MYSQL by building 5 Projects including PHP Regular Expressions & CMS | Become a Full Stack Back-End Developer.

20:01:10 of on-demand video • Updated March 2021

  • All PHP Fundamentals and Building Blocks with practical implementation in Projects
  • Form Validation with most Secure way using Regular Expressions
  • Making web pages dynamic with the variety of PHP Techniques
  • Employee Management System CRUD Application in PHP From Scartch
  • Complete CMS ( Content Management System) with Admin-Panel
  • Getting Started with Bootstrap 4 FrameWork from scratch without using any Bootstrap Template
  • Using PHP Sessions in a more sophisticated way and pass information easily on different modules of Project
  • Stunning Blog with Commenting functionality
  • Powerful Web Forms which will be Free of Hack
  • Build Professional CRUD
  • CMS Based Projects
  • Full Coding Exercises
  • Login Logout Admin System
  • Tips / Tricks
  • Sending Email using PHP
  • Bootstrap 4.2.1
  • PDO
  • URL Tracking
  • Security Techniques on Public pages
  • Font Awsome
English [Auto] Why do same kind of thing as our follow ups. The only difference is between the structure of these two loops. So why do we divide our initial value our condition and our environment at different lines. So first we have to define the initial value outside the parentheses of our Y low. So if I define here one new variable of B as our initial value and I'm going to give it value of 1 and if I have to call r y. So inside the while loop prentices I just have to mention X condition not increment nor the initial value just condition. So I can say F word while loop variable B. Is less than or equal to 15 then you should call one statement and that statement is Jah's from dot com and after echoing it I just have to put in command so that we can have just about Kim Dotcom on our screen for 15 times. So this is the structure of why. So let's save this one out. Back to Google Chrome local Horst and in our local host we have this new file law for why laws start to be seen and we have just broken Broadcom. So let's be our back here. Refreshing the page again. Know we have Josip Arcanum dot com for 15 times in our browser. So the only difference is between the structure of follow up and why. Because in the for loop we have initial value our condition and our in command are the same line while in the loop we have these three things at different places. Our initial condition is outside of my loop. Our condition is in the practices of why low while our increment at the end of our statement means our echo statement. So this is while.