on 10/25/02 2:53 PM, Aaron Wolski at aaronjw@martekbiz.com appended the following bits to my mbox: > Basically I need to pull some records out of a database and for the > first record do_this logic and for each record after in the array > do_something_else logic. Psuedo code: $first_record = 'yes'; while (result = something) { if ($first_record == 'yes') { do_something(); $first_record == 'no'; } else { do_something_else(); } } HTH. Sincerely, Paul Burney <http://paulburney.com/> <?php while ($self != "asleep") { $sheep_count++; } ?> -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php