I am trying to get the redirect to work but for some reason, it was working before with the first command but not working at the moment. I can only get it working now with the second command instead:
What would you describe as “doesn’t do anything”? A blank page? An error message? The universe implodes into itself and ceases to exist?
“doesn’t do anything” is not a problem description. Everything always does something. The fact that it doesn’t do what you expect it to do doesn’t mean it’s not doing anything at all.
@anon19508339, code not correct, because url attribute is not valid on the meta tag and you will refresh the actual page (as seen on the meta content of only 0) instead of doing a 302 redirect to ../student_registration.php?id=$userid! And obviously the formatting system on InfinityFree’s forum causes some quotes to be written as they will be without putting them on the code formatting tag/grave accent/quadruple space, and doing so could cause a syntax error. There is the correct code, for you and @piano0011 to see: