Re: check if a foreach loop has successfully run

From: Date: Tue, 25 Jun 2002 14:19:35 +0000
Subject: Re: check if a foreach loop has successfully run
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103780@lists.php.net to get a copy of this message
On Tuesday 25 June 2002 22:18, Jule Slootbeek wrote: > Hey list, > How do i check if my script has successfully run through an entire When it's finished looping when it's finished looping. foreach ($doo as $dah) { echo $dah; } echo "Finished"; > foreach() loop do i just go > > if (foreach ($answer as $a) { echo $a }) > { > return TRUE; > } else { > return FALSE; > } -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Electrocution, n.: Burning at the stake with all the modern improvements. */

« previous php.general (#103780) next »