How do I use the header redirect to make it redirect to the current page?
EDIT: I am trying to make it reload the currently shown page in the browser.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
PHP by itself can’t force a page refresh. You’ll need to use javascript:
The
.reload(true)bit instructs the browser to do a hard refresh (i.e., fetch a new copy of the web page from the server).