Categories
Archives
- October 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- November 2010
- September 2010
- July 2010
- June 2010
- April 2010
- February 2010
- November 2009
- October 2009
- September 2009
- May 2009
- January 2009
- November 2008
- September 2008
- August 2008
- June 2008
- March 2008
- February 2008
- January 2008
- October 2007
- September 2007
- January 2007
- December 2006
Tag Archives: php
More Loops
Last time we went over the while() loop, which is incredibly useful for reusing the same code. However, while the while() is effective, it will not run if the PHP gives it no reason to. The do-while() loop puts the condition at the end of the process, and so the PHP will run the loop before checking to see if it should.
Loops
In PHP, a loop is a control structure that allows you to repeat the same section of PHP over and over again. For this reason, it can be a little risky as getting stuck in an infinite loop will most likely crash your browser, if not your entire computer.
Switch Case
Note: These posts are part of a series written by an Ideal Websites employee, who is currently training to become a PHP developer. In the last post I went over if() statements, which are an effective way implement an either/or type process into your application, but if the process is more complex than that, it [...]
Logical Operators and if() Statements
Note: These posts are part of a series written by an Ideal Websites employee, who is currently training to become a PHP developer. Now that we have covered the basic comparison operators (as well as the ‘===’ operator which was brought to my attention via a comment. It represents exactly equal to, see the update [...]
An introduction to OOP