Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

PHP Basics: Loops - While statement

Loading...

Sign in or sign up now!
12,667
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 10, 2009

The While statement acts as a loop, checking a condition at the start and executing a following block of code if that condition is met.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:

Uploader Comments (phpacademy)

  • What happened to the phpacademy logo D:

  • Sometimes i'm lazy and forget to put it in! Well spotted.

Top Comments

  • In this tut Alex talks about looping and he started with the While statement which takes the form : $counter = initial value; while(condition) { statements; $counter = $counter + incremental value; } also for the infinite loop we can use the form: while (1) { statements; }
see all

All Comments (14)

Sign In or Sign Up now to post a comment!
  • good video

  • Thank u Alex you r a goood teacher :D

  • @Phosisticated Lol, he's right.. well spotted

  • Thank You.

  • Didnt learn it for a while, now I kinda forgot some stuff tho I still remember somethingD: Ima keep learning hard.

  • i didn't use any dots in mine :S it worked though :D

  • Hmmm... PHP is hard, but your videos makes it easy ;p

    Thanks

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more