my question is about the header() function. I'm trying to send 2 variables trough this function like this:
header("Location:index.php?variable_1='true'&variable_2='false'");
I think its the problem in escaping & but i tried it just with &. Also, first variable gets initialized and I can acquire it by calling$_GET['variable_1']` but the second one is none existent and is not initialized.
So my question is, can I send more than one value trough header() function via GET method?
Thank you for your time!
foo='bar'&bar='baz'. Lose the quotes, sofoo=bar&bar=baz. They're not needed and will only cause unnecessary complications.