This question already has an answer here:
- How do I make a redirect in PHP? 31 answers
I would like to know if i can redirect my web page to an external web page from a Php switch statement without the use of html (purely Php). I have made a username/password login using the $_POST predefined variable which is linked to a switch statement which from there depending on what is inputted will auto redirect the user to an external web page. I do not want to have to click on an echoed link, i would much rather have the web page auto directed. Can someone please tell me if this is possible or what other method should I use.
</div>