From: "Chris Bruce" <[EMAIL PROTECTED]> > I am having trouble with a string becoming truncated at an '&' > character. I am passing the variable via a link > > (http://...&campaign=MBI%20List%20-%20Steel%20&%20Concrete) and then > when I try to grab the incoming value of campaign into a SELECT query, > it becomes > > SELECT sum(sends) from campaigns where name='MBI List - Steel ' > > I have tried to urlencode the variable, and also use htmlentities, etc. > to no avail.
Show how you tried to use urlencode() and put the value in the URL, because that's the correct solution. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php