If this is my code how would I loop to the next dog of the current owner after the dog has been fed 3 times.
Foreach ($owners as $owner) {
For($x=1;$x<=$NumOfDogs;$x++) {
$dog = $dogs[$x];
shuffle($dogFoods);
Foreach ($dogFoods as $dogFood) {
For($y=1;$y<3;$y++) {
Feed($dog, $dogFood);
}
}
}
}