$_GET taxonomy from URL
-
I’m using the following
if (isset($_GET['departments'])) { $dpt = $_GET['departments']; } else { echo 'No staff found.'; }
in the taxonomy-offices.php template
to get the string ‘sales’ out of the URL
/staff/sales/?offices=perth&departments=salesIts working fine but does something else need to be done to prevent malicious code being sent through URL
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘$_GET taxonomy from URL’ is closed to new replies.