Re: [PHP] NETSCAPE Screws QUERY STRING!!!!!!

2001-03-05 Thread Chris Adams
On 4 Mar 2001 04:17:18 -0800, Thomas Edison Jr. <[EMAIL PROTECTED]> wrote: >The Internet Explorer converts the spaces in a query >string into it's hexadecimal value of "%20" >automatically, but netscape is not doing so. It's not >reading the space and thus not displaying the page at >all and givin

Re: [PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread John LYC
try this printf(" ", urlencode($myrow[title])') john "Thomas Edison Jr." wrote: > The urlencode() is working fine with an echo statement > & normal query string. > > But it's NOT working with complex query string in > printf() including $myrow[something] being picked up > by mySQL db. > > this

Re: [PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Julian Wood
Where is the string 'value+value2' coming from? $myrow[title]? If it is coming from the db (I'm guessing - it seems a little strange to me that this would be your title, but in this code we're discussing there is no other possible source), and it has slashes in it, you may need to use stripslashe

[PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Thomas Edison Jr.
Julian, i tried this out it's giving the single quotes in the value... 'value+value2' and on the next page where i'm printing the value...the backslashes are also being added in front of single quotes : \'value value2\' where can i go from here? this has made the urlencode function to wor

Re: [PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Julian Wood
Try printf("") J on 3/4/01 11:55 AM, Thomas Edison Jr. at [EMAIL PROTECTED] wrote: > > The urlencode() is working fine with an echo statement > & normal query string. > > But it's NOT working with complex query string in > printf() including $myrow[something] being picked up > by mySQL db.

[PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Thomas Edison Jr.
The urlencode() is working fine with an echo statement & normal query string. But it's NOT working with complex query string in printf() including $myrow[something] being picked up by mySQL db. this works : this doesn't work : printf("") OR such combinations as given in the manual. I tried

Re: [PHP] NETSCAPE Screws QUERY STRING!!!!!!

2001-03-04 Thread Juanma
Try urlencode ... - Original Message - From: "Thomas Edison Jr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 04, 2001 1:20 PM Subject: [PHP] NETSCAPE Screws QUERY STRING!! > I'm passing variables in a query string to my php > pages. The variables whose values c

Re: [PHP] NETSCAPE Screws QUERY STRING!!!!!!

2001-03-04 Thread Meir Kriheli - MKsoft
You should use the urlencode() function. See http://www.php.net/manual/en/function.urlencode.php -- Meir Kriheli MKsoft computer systems 'There's someone in my head but it's not me" - Pink Floyd - Original Message - From: "Thomas Edison Jr." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED