Re: IF this then, move to this line...

From: Date: Thu, 05 Apr 2001 18:11:57 +0000
Subject: Re: IF this then, move to this line...
Groups: php.general 
Request: Send a blank email to php-general+get-47380@lists.php.net to get a copy of this message
this is mostly a C++ function, java has something similar as well but break would be the closest -----Original Message----- From: CC Zona <cczona@nospam.invalid> To: php-general@lists.php.net <php-general@lists.php.net> Date: Thursday, April 05, 2001 1:03 PM Subject: Re: [PHP] IF this then, move to this line... >In article <OMEBIHJGKOODOFLBFDJFKEHECBAA.orther@webintellects.com>, > orther@webintellects.com (Brandon Orther) wrote: > >> Is there a way to make my script jump to a certain line in my code if a >> certain variable is true. like use an if then statement to check for a >> certain value, then if it is true jump back to line 34 (Any line really). > >You can't specify by line number, but you might want to see the docs on >"break" ><http://php.net/manual/en/control-structures.break.php> and >"continue" ><http://php.net/manual/en/control-structures.continue.php>. >Both allow you to specify how many levels to go back. > >-- >CC > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#47380) next »