& v &

They have: 461 posts

Joined: Jul 2003

window.open is not getting the gaf when using & instead of &

    <script type="text/javascript">
      <!--
window.open('{$_SERVER['PHP_SELF']}?fn=gal&amp;gaf=bot&amp;gid=1','bot','',true);
      -->
    &lt;/script&gt;
'
    &lt;script type="text/javascript"&gt;
      <!--
window.open('{$_SERVER['PHP_SELF']}?fn=gal&gaf=bot&gid=1','bot','',true);
      -->
    &lt;/script&gt;
' this is needed to get a section of the control panels working correctly. i would prefer to use & since it will validate and & wont. however, when i use & all it gets is the fn. the gaf is not picked up and the gid... i can't tell.

POSIX. because a stable os that doesn't have memory leaks and isn't buggy is always good.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

& should only be needed for written urls -- not for programming code?

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.