When I pass a value via GET, it automatically coverts symbols such as & and = to %26 and %3D in the URL. How can I prevent this from happening?
echo "<option value='" . $row['school'] . "&canteen_location=" . $row['canteen_location'] . "'>" . $row['school'] . " - " . $row['canteen_location'] . "</option>";
I’m trying to pass through two parameters through only one option. If I knew AJAX I would have two separate forms with the second one (canteen location) being based off of the first one (school)…but I don’t.
Thanks!
Please don’t proceed in this direction; one alternative:
html
php