View Single Post
Old 06-09-2008, 04:46 PM   #2 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 710
Thanks: 2
Salathe is on a distinguished road
Default

On line 35 (return(true);) the method returns the first time that a database is selected which stops further execution of the foreach loop (and any other code in the method).

Take that line out, or replace it with (a useless, as the code is at the moment) continue; to continue looping through all of the $names.
__________________
Salathe is offline  
Reply With Quote