How can I put '&' symbol to URL GET variable so it is part of string? The problem is it always split the string to next variable.
How can I make this work?
localhost/test.php?variable='jeans&shirts' // so it executes it like a string
<?php
require "connect.php";
$variable = $_GET['variable'];
echo $variable;
?>
output is 'jeans'
instead of 'jeans&shirts'