I am using this code in html form
<input name="button" type="button" value="Step 2" onclick="location.href='../ticket/scp/auto.php?dest=../scp/admin.php?t=staff&a=new'"/>
when i use print_r($_GET) i get
Array ( [dest] => ../scp/admin.php?t=staff [a] => new )
whereas i expect to get
Array ( [dest] => ../scp/admin.php?t=staff&a=new )
how can i fix this