On Friday 12 April 2002 06:15, Caspar Kennerdale wrote: > This may be a baisc programming query, to which I dont have the ansa, > > but can you do a while () loop, but set a condition so that it misses one > ie > > $counter = -1; > while(++$counter <50){ > > do a task on all between 1 and 50 except on 39 > }
$counter = -1; while(++$counter <50){ if ($counter == 39) { continue; } do your stuff; and some more stuff; etc; } -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Your step will soil many countries. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php