Re: Re: [PHP] passing variables in javascript

2001-02-22 Thread Simon Garner
From: "Nicholas W. Miller" <[EMAIL PROTECTED]> > > H ... is there anyway to do this without requiring the page > >with the link to use PHP? > > Well if the string you're going to urlencode() is always going to be the same, then just run it through once, grab the encoded version and hard-co

Fwd: Re: [PHP] passing variables in javascript

2001-02-22 Thread Nicholas W. Miller
> H ... is there anyway to do this without requiring the page >with the link to use PHP? > >> >>You have to encode each part of the query string on the URL correctly: >> >>> . "&url=" . >>urlencode("http://www.domain.com/biz/pubs.html#antitrust"); >>?>', 'email','width=410,height=435

Re: [PHP] passing variables in javascript

2001-02-22 Thread Simon Garner
From: "Nicholas W. Miller" <[EMAIL PROTECTED]> > I have a text link that is coded to open a PHP file in a popup window: > > href="#"onClick="MM_openBrWindow('../email/popup.php?title=B2B+Antitrust:+Op ening+Moves+in+the+Game&url=http://www.domain.com/biz/pubs.html#antitrust',' email','width=410,