View Single Post
06-16-2008, 01:03 PM
#2
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

There are a number of looping constructs available within PHP and without much of a prompt in the first post we can't be very specific in helping you. However here are some starting points which might be useful:
  • while
    while (condition) { statements }
  • do-while
    do { statements } while (condition)
  • for
    for (start; loop_start; loop_end) { statements }
  • foreach
    foreach (items as item) { statements }