this is mostly a C++ function, java has something similar as well
but break would be the closest
-----Original Message-----
From: CC Zona <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, April 05, 2001 1:03 PM
Subject: Re: [PHP] IF this then, move to this line...
>In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]