How to make it more correct or easier, if the condition of error 14 worked, to stop the cycle and after the captcha went to continue the cycle from the same place.
1 answer
You pass the users id's:
$userid = array("484674859","6468653", "140893756"); So remember the user or the key of the array on which the captcha came out. Then cut the array to a value and start the loop with the new array.
You can cut it like this (example with a key):
$newuserid = array_slice($userid, 2); // где 2 - до какого ключа обрезать массив |