Monday, April 19th, 2010
When I started programming I only learned about do ... while statements and I didn’t know about while statements. There are some times when my code would’ve been a lot cleaner if I had known about while statements. To save you all the trouble of what I had to go through I’m writing this post. For those of you who already know the difference between while and do ... while I have included a little-known trick that may interest you. Just skip on down to the bottom.
Tags: functions, loop, php, syntax, while
Posted in Programming, Tutorial | 6 Comments »