$strSinkTrap = fopen("/under/the/cabinet/", "w+"); while(!feof($strSinkTrap)){ unscrewFittings($pipe); if($pipeUnscrewed == TRUE){ removeClog($hair, $grease, $grime); } } fclose($strSinkTrap);
You may want to call the screwFittings function after removeClog has returned, or there's going to be an awful mess.
But then again, perhaps the automatic garbage collection will take care of that?
-- Aaron Gould Parts Canada - Web Developer
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php