I have an import that needs to notify the user each time an item has been successfully imported into the database. Is there a way to loop, perform some functionality, provide the output message, and then loop through again with the same action?
Share
You can use the
flush()function to send output to the user before the PHP script has finished.This would be used after you display a message or whatever.