Re: [PHP] check if a foreach loop has successfully run

2002-06-25 Thread Jason Wong
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 (

[PHP] check if a foreach loop has successfully run

2002-06-25 Thread Jule Slootbeek
Hey list, How do i check if my script has successfully run through an entire foreach() loop do i just go if (foreach ($answer as $a) { echo $a }) { return TRUE; } else { return FALSE; } thanks in advance. Jule -- Jule Slootbeek [EMAIL PROTECTED] http://blindtheory.cjb.net