I have a PHP loop below which works fine however sometimes there will be a error page returned by the CURL request, how can I restart the operation for that current page only without restarting the whole loop?
while ($daytofetch <= $lastdaytofetch) {
//Do all my stuff and run curl request here
$daytofetch++
}
1 Answer