PHP flush() not working to flush output to browser before script is done
My script is a basic PHP script calling data from a MYSQL database
but it takes about 2 minutes to run the script as it emails out 1000 people on an email list
I want it to display the email address on screen AS it emails each one instead of all at once at the end of 2 minutes lists them all
I have tried adding
at the top, no. that does not work.
after every echo of the email address to the screen.