[eluser]max123[/eluser]
I want to know why redirect function doesn't work after echo statements.
I have some echo statements inside my controller to display javascript alerts.
Code:
echo "[removed]alert('Please login as a Job Seeker');[removed]";
after that line there is a redirect command. But it doesn't work when echo statement is there above. How can I do both the things without removing the alert or the redirect command