Re: [PHP] NETSCAPE screws up query string : more problems!

2001-03-05 Thread Christian Reiniger

On Sunday 04 March 2001 20:38, you wrote:
 Julian,
 i tried :

 a
 href=\"pro_page1.php3?title=".urlencode($myrow[title])."\"

 instead

 a
 href=\"pro_page1.php3?title='".urlencode($myrow[title])."'\"

 notice the single quote ' missing. And that WORKED!!!
 It displayed the right value in the next PHP page.
 Unfortunately there's another problem. it only
 DISPLAYED the right value...but when it adds the value
 in the database...it adds with the plus + sign. i.e.,
 it adds : Project+One instead of Project One.

try rawurlencode instead of urlencode

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

Very funny, Scotty! Now beam up my clothes...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] NETSCAPE screws up query string : more problems!

2001-03-04 Thread Thomas Edison Jr.

Julian,
i tried :

a
href=\"pro_page1.php3?title=".urlencode($myrow[title])."\"

instead

a
href=\"pro_page1.php3?title='".urlencode($myrow[title])."'\"

notice the single quote ' missing. And that WORKED!!!
It displayed the right value in the next PHP page.
Unfortunately there's another problem. it only
DISPLAYED the right value...but when it adds the value
in the database...it adds with the plus + sign. i.e.,
it adds : Project+One instead of Project One. 


=
Rahul S. Johari (Director)
**
Abraxas Technologies Inc.
Homepage : http://www.abraxastech.com
Email : [EMAIL PROTECTED]
Tel : 91-4546512/4522124
***

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]