Added: 4 years ago
From: thenewboston
Views: 56,718
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (55)

Sign In or Sign Up now to post a comment!
  • ur better than my lecturer in my college

  • @espsir definitely 

  • the slash goes in front of the br

  • The action stops when the counter gets to 6, not 5.

  • @ReallyBigWorld no it's stops at 5 .. i tried but now i have some problem ;( :D

  • im trying to use the while loop more than one time in a script in php but it is not possible i do not know why, for some reason it will not let me put a variable alone i will have to define the variable inside the state which really suck because im not able to use it more than one time how do i fix this problem thank you.

  • alot like c#

  • I've used loops before in other programming languages before(pl/sql, vb) however I never found a practical purpose for them. does anyone have any examples?

  • This a lot like C++ 

  • Looking at theNewBoston we can leanr how we can productively use the lunch break..I got the feeling that Bucky uses the last few minutes of the lunch break to teach the people of the world all these amazing stuff...gr8 job Bucky..

  • i've come to realise php is almost identical to expression 2 from wiremod in the game garrys mod.

    started watching your tutorials, then realised i know most of it already :D i'll continue watching because there are some differences, but the syntax is nearly identical.

  • more thumbs up haha

  • While

  • lol i made an infinite loop and it stops onece you stop the page loading

  • Im getting smarter every video of yours!

    Thanks!

  • كفو يا شنب

    للامام ومتابع لك

    100%

  • great tut vid mate, was thinking the thing that annoys me about tutorials is often they don't give practical practical use of the things that they teach, please try and incorporate practical uses in other vids thanks!

  • you helped me alot.

    I can now us php in my php interigated webserver

  • loving it

  • thanks man, your helping me a lot of your tutorial......

  • hey, i'm new to this and was just wondering if u could give any examples of when you would use this function.

    And like you know how you used "++" to add 1 each time it loops, is there a way to add 2, or subtract 1, or basically anything you wanted?

    cheers

  • Comment removed

  • @deffolaters

    ++ or -- increases or decreases the value by 1.If you want to Increse it by 2 or 3 you can do like this $num+=2 or $num=$num+2

  • @nivekz81 thank you

  • @artistdigital Because it is text. It only becomes html once it is output to the browser. If you don't use quotes, PHP will read < as code and throw an error.

  • Why are you covering the break tag in quotes?? Is it normal for all html tags in php??

    I'm programmer in C and find php very easy so far; :)

  • Thanks mate, Good job

  • i can't believe i had to pay $1100 to learn this.....when i could just learn it here

  • Thank you. - behindvfx

  • thanks bro.. you did a a great work, i was trying to learn php, but stuck on the while loop. you video is awesome.

  • 5/5 but when i want it to print numbers from 001 to 085?

  • Dude..I love you Dude..

  • lol i made a mistake and it was going on forever XD!

  • Yea I've made it as well and my firefox crashed! hahahha just because I wanted to try it before I see the tutorial :D :D so I didn't include $num++; :D

  • :D hehe

  • is dot (.) in $num. necessary?

  • Yes. The "." is a string concatenator.

  • i will mark u 5 star!!! good work!!

  • Easy and Clear tutorial. Thank you very much.

  • nice..... iam geting it

  • If you need help on how to do a while loop, check out the enclosed instruction book!

  • Very nice, thanks! Keep up the good work - it's appreciated.

    I just started looking into PHP a few hours ago... While watching this I thought of using this on pages redirecting users after doing an action, for instance after submitting data via a form. I need a function to create a one second delay before echoing a new number though (I want the user to see "You'll be redirected in 1... 2... 3" and counting). Which one would that be?

  • thats html

  • thx and 5 stars!

  • again thx and 5 stars (AS USUAL!) :P

  • thx

  • no prob, ill probably add some more php tutorials in a few weeks!

  • *subscribed* :-)

  • same

  • Nice, clear tutorial!

Loading...
Alert icon
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