Passing Ampersand to browser plz help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lxgamer
    New Member
    • Jul 2006
    • 1

    Passing Ampersand to browser plz help

    hello every one here
    i'm trying to do the following

    Code:
    <option value="<?php echo "50&order=$order&type=$type&owner=$owner&page=$page"; ?>" <?php if($showing=="50") echo "selected"; ?>>50</option>
    but when this value is passed to browser the address bar shows

    Code:
    http://lxg/lxgaming/browse.php?showing=50%26order%3D%26type%3D%26owner%3D%26page%3D1
    means that ampersand is converted to (%26) without brackets and i think '$' is also converted to its code.
    Is there nay way to fix it?
Working...