Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Learning Loops
Dec 15, 2011 @ 16:15:00

PHPmaster.com has a new introductory tutorial for those just starting out with PHP (or with programming really) talking about using looping structures for sets of data - for, while/do-while and foreach.

A significant advantage of computers is that they can perform repetitive tasks easily and efficiently. Instead of writing repetitive code you can write a set of statements that processes some data and then have the computer execute them repeatedly by using a construct known as a loop. Loops come in several different flavors in PHP: for, while, do-while, and foreach. I'll introduce you to each of them and show you how they can making repetitive tasks straightforward and easy to maintain.

The tutorial explains a use case for each of the loop types and includes a bit of sample code showing how to put it into practice. It also shares two special keywords that can be used to bypass or break out of your current loop - break and continue.

tagged: introduction tutorial loop dataset for while foreach break continue

Link:

PHPBuilder.com:
Loops & Decisions in PHP - The ABC's of PHP Part 8
May 07, 2009 @ 15:26:34

PHPBuilder.com has posted the eighth part of their introductory "ABCs of PHP" series today. This time the focus is on looping and decision functionality (like if/while/for/etc).

n any given computer language (PHP is no exception) there has to be a way to allow the running code to decide between doing 2 different things. If there wasn't then software would not be able to adapt based on operating conditions, or it wouldn't be able to decide between two different users.

They look at using: if statements and operators, for loops and while loops. When they look at the operators, they talk about the differences between equals/not equals, grater than/less than and two of the boolean operators - AND and OR.

tagged: loop decision if while for operator tutorial introduction beginner

Link:

DevShed:
PHP Statements and Beginning Loops
Nov 05, 2007 @ 15:34:00

DevShed has posted the latest part of their introduction to PHP series, this time focusing on one of the more useful features of the language - conditionals and loops.

We discussed statements briefly in our last article and even got a sneak peek of an IF-statement. Sure I mean, the image was blurry, and the moment it saw us it ran off into the forest. But we saw it. Honest. So in this article, we're going to take a much closer look at PHP statements and even start learning about loops.

They cover if statements (as mentioned) as well as introduce you to its companions, else and else if. The finish off the article with a brief look at one of the simpler loops, the for loop.

tagged: tutorial loop conditional statement elseif if for tutorial loop conditional statement elseif if for

Link:

DevShed:
PHP Statements and Beginning Loops
Nov 05, 2007 @ 15:34:00

DevShed has posted the latest part of their introduction to PHP series, this time focusing on one of the more useful features of the language - conditionals and loops.

We discussed statements briefly in our last article and even got a sneak peek of an IF-statement. Sure I mean, the image was blurry, and the moment it saw us it ran off into the forest. But we saw it. Honest. So in this article, we're going to take a much closer look at PHP statements and even start learning about loops.

They cover if statements (as mentioned) as well as introduce you to its companions, else and else if. The finish off the article with a brief look at one of the simpler loops, the for loop.

tagged: tutorial loop conditional statement elseif if for tutorial loop conditional statement elseif if for

Link:

HowToForge.com:
Loops In PHP
Jan 30, 2007 @ 18:26:00

On the HowToForge website, there's a new tutorial that teaches one of the fundamentals of working with PHP (or any language for that matter) - looping.

Let's move towards our today's lecture which is about Loops. There are certain conditions in which you need to execute the same block of code again and again. For example if you want to print ten consecutive equal signs in three lines to make a separator then you could do it with different methods.

The tutorial covers:

  • Basic Concept Of Loops
  • Types Of Loops (for, while, do/while, and foreach)
  • Assignment
  • some Related Articles
Code examples are given for all, and a good overview of working with the loops is given.

tagged: loop tutorial beginner foreach for while loop tutorial beginner foreach for while

Link:

HowToForge.com:
Loops In PHP
Jan 30, 2007 @ 18:26:00

On the HowToForge website, there's a new tutorial that teaches one of the fundamentals of working with PHP (or any language for that matter) - looping.

Let's move towards our today's lecture which is about Loops. There are certain conditions in which you need to execute the same block of code again and again. For example if you want to print ten consecutive equal signs in three lines to make a separator then you could do it with different methods.

The tutorial covers:

  • Basic Concept Of Loops
  • Types Of Loops (for, while, do/while, and foreach)
  • Assignment
  • some Related Articles
Code examples are given for all, and a good overview of working with the loops is given.

tagged: loop tutorial beginner foreach for while loop tutorial beginner foreach for while

Link:

Community News:
International PHP Conference 2006 Call for Papers
Apr 12, 2006 @ 12:15:48

The International PHP Conference has issued their Call for Papers today with a deadline of April 30th, 2006.

Software & Support Media is proud to announce that the 6th annual International PHP Conference 2006 will be held again in Frankfurt November 5-8, 2006.

The two main conference days offer a wide range of beginner, intermediate and advanced sessions. International PHP Conference attendees will have more than 50 sessions to choose from, to gain real-world insight and to learn first-hand the latest developments for PHP. Come share your knowledge, hit upon new ideas, find solutions and connect with your peers at this educational, fun-filled gathering of users, developers, and vendors.

The conference will last from November 5th through the 8th at the NH Hotel there in Frankfurt, and will include tons of talks and times to socialize with other PHP developers. Some of the topics being covered this year include "PHP & Business", "PHP Design", "PHP & XML", and "PHP Enterprise/Integration". To submit your proposal, head to their submission form and enter your idea today! Hurry - the deadline is less than twenty days!

tagged: international conference 2006 call for papers international conference 2006 call for papers

Link:

Community News:
International PHP Conference 2006 Call for Papers
Apr 12, 2006 @ 12:15:48

The International PHP Conference has issued their Call for Papers today with a deadline of April 30th, 2006.

Software & Support Media is proud to announce that the 6th annual International PHP Conference 2006 will be held again in Frankfurt November 5-8, 2006.

The two main conference days offer a wide range of beginner, intermediate and advanced sessions. International PHP Conference attendees will have more than 50 sessions to choose from, to gain real-world insight and to learn first-hand the latest developments for PHP. Come share your knowledge, hit upon new ideas, find solutions and connect with your peers at this educational, fun-filled gathering of users, developers, and vendors.

The conference will last from November 5th through the 8th at the NH Hotel there in Frankfurt, and will include tons of talks and times to socialize with other PHP developers. Some of the topics being covered this year include "PHP & Business", "PHP Design", "PHP & XML", and "PHP Enterprise/Integration". To submit your proposal, head to their submission form and enter your idea today! Hurry - the deadline is less than twenty days!

tagged: international conference 2006 call for papers international conference 2006 call for papers

Link:

Zend:
Call for Papers - Zend/PHP Conference 2006
Mar 29, 2006 @ 12:55:06

Zend has officially announced their Call for Papers for their Zend/PHP Conference and Expo for 2006. The conference, happening October 29th through November 2nd, will be held at the Doubletree Hotel in San Jose, California.

Zend Technologies invites you to participate in what will be the premier forum for PHP in 2006. Present your technical concepts, cutting edge applications, or business applications. Your participation will make this conference a success. Share your ideas with fellow colleagues in the PHP community.

The conference selection committee will consider all abstracts submitted on or before June 15th, 2006. Notifications will be made by August 1st, 2006.

The theme for this year is "Creating Modern Web Applications with PHP" with three tracks for you to work up a proposal for - "PHP and Web Services", "PHP Development", and "PHP Management".

For complete details on the hows, whens, and whats, check out the Zend site for proposal specs, compensation, and the right way to submit.

tagged: zend conference 2006 call for papers san jose CA oct 29th nov 2nd zend conference 2006 call for papers san jose CA oct 29th nov 2nd

Link:

Zend:
Call for Papers - Zend/PHP Conference 2006
Mar 29, 2006 @ 12:55:06

Zend has officially announced their Call for Papers for their Zend/PHP Conference and Expo for 2006. The conference, happening October 29th through November 2nd, will be held at the Doubletree Hotel in San Jose, California.

Zend Technologies invites you to participate in what will be the premier forum for PHP in 2006. Present your technical concepts, cutting edge applications, or business applications. Your participation will make this conference a success. Share your ideas with fellow colleagues in the PHP community.

The conference selection committee will consider all abstracts submitted on or before June 15th, 2006. Notifications will be made by August 1st, 2006.

The theme for this year is "Creating Modern Web Applications with PHP" with three tracks for you to work up a proposal for - "PHP and Web Services", "PHP Development", and "PHP Management".

For complete details on the hows, whens, and whats, check out the Zend site for proposal specs, compensation, and the right way to submit.

tagged: zend conference 2006 call for papers san jose CA oct 29th nov 2nd zend conference 2006 call for papers san jose CA oct 29th nov 2nd

Link:


Trending Topics: