after looping result go to start php code example Example: php for next loop step for ($i = 0; $i < 10; ++$i) { echo "I will loop 10 times"; }