Is there a jump function between php code ?? It's not a page jump. Is there a jump function between php code ?? Not jump between pages, for example: $ str; & nbsp; $ aarray (,); $ barray (,); $ i0; foreach ($ a & nbsp; as & nbsp; $ value) {& nbsp; & nbs do you have a jump function between php code ?? Not jump between pages
Is there a jump function between php code ?? Not jump between pages
For example:
$ Str = "";
$ A = array (1, 2, 3, 4, 5, 6 );
$ B = array );
$ I = 0;
Foreach ($ a as $ value ){
If ($ a [$ I] <$ B [$ I]) {
// If the conditions are met, exit the loop and directly execute the final output "data has a problem ";
} Else {
$ Str = "aaaa =". $ a [$ I];
}
$ I ++;
}
Echo "data problems ";
------ Solution ----------------------
...
If ($ a [$ I] <$ B [$ I]) {
Echo "data has problems"; // if conditions are met, exit the loop and execute the final output directly. "data has problems ";
Exit ();
}
...