Thread: My brain aches.
View Single Post
03-08-2005, 01:08 AM
#2
mike.fro is offline mike.fro
mike.fro's Avatar
Status: I love this place
Join date: Mar 2005
Location: Burnsville
Expertise: Design
Software:
 
Posts: 674
iTrader: 5 / 100%
 

mike.fro is on a distinguished road

  Old

Originally Posted by seen.to
I'm using this (created by my programmer)

Code:
$mystring = $_SERVER['QUERY_STRING'];
But it's turning out the URL with & instead of & which is needed for total validation (as required by the client).

I've changed

Code:
arg_separator.output = "&"
to

Code:
arg_separator.output = "&"
in PHP.ini which fixed some previous issues with the same problem but not this time.

I tried
Code:
str_replace ("&","&amp");
but wasn't quite sure of the syntax, where to put it in the string, or if it's even the right thing :-/

Any ideas you PHP guru's out there?
Code:
str_replace ("&","&amp");
You missed a ";" so try this:
Code:
str_replace ("&","&");
Let me know if that works, if not i'll try something else.