0

I am very confused on how I would go about this. If one of the "IF" statements is true at the start of a foreach loop I want the loop to just repeat without continuing. Yet I do not want to exit out of the loop completely. Example:

foreach ($postallionlist as $key => $value) {
    if ($value == $postallionlist[0]) {
        Repeat Loop Here
    }
    else {
        Pass
    }

    If (??) {
        The loop will continue to here if the first if statement is false
    }

So basically what PHP word makes a foreach just start over again without exiting it.

michael jones
  • 710
  • 1
  • 8
  • 17

0 Answers0