[phplib] first gotcha i found in php4, phplib From: Arno A. Karner (karner <email protected>)
Date: 09/24/00

you can not break from loops from an included file you get the following
error
Fatal error: Cannot break/continue 1 levels in comsmt.inc on line 38

example:
while(1) {
        include "somefile.inc"
        // do loc stuff
        break;
}

and somefile.inc contains the following types of stuff
if($Val=='next1') {
        $RecNo++;
        break; }

so tsk tsk on me, it is rather poor programing but when your using an
interpter and you say include it shopuldnt matter

your milage may vary

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>