Use the ob_flush function of PHP. add this function at the top of the code.
ob_flush
ob_flush();
And this will work.
EDITED:
INstead of this code:
header('Location: http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
Use this code:
echo '';
No comments:
Post a Comment