[Solved] Redirection not happening in Php [duplicate]


You can’t output prior to redirection.

Either move the location redirect logic prior to output or you can add ob_start(); as the first line in your script and then that output will get discarded upon redirect.

1

solved Redirection not happening in Php [duplicate]