[PHP] Help with '' character

2004-02-17 Thread Chris Bruce
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

Re: [PHP] Help with '' character

2004-02-17 Thread Miguel J. Jiménez
Have you tried using 'amp;' ? Chris Bruce wrote: 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

Re: [PHP] Help with '' character

2004-02-17 Thread John W. Holmes
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

Re: [PHP] Help with '' character

2004-02-17 Thread Chris Bruce
The problem is that the '' character is already in a database. I am trying to do a query where I need to have it as '', but like I said, when it comes into the script from the url it gets truncated. -- Chris Bruce [EMAIL PROTECTED] Idextrus E-Business Architects http://www.idextrus.com 3282

Re: [PHP] Help with '' character

2004-02-17 Thread Chris Bruce
You are right John. I have it working now. Thanks. -- Chris Bruce [EMAIL PROTECTED] Idextrus E-Business Architects http://www.idextrus.com 3282 Wilmar Cres. Mississauga, ON L5L4B2 CA 905.828.9189 This e-mail and its contents are

Re: [PHP] Help with '' character

2004-02-17 Thread André Cerqueira
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 the problem is the '' on the url http://...campaign=MBI%20List%20-%20Steel%20%20Concrete ^ | there this url is saying:

Re: [PHP] Help with '' character

2004-02-17 Thread Chris Shiflett
--- Chris Bruce [EMAIL PROTECTED] wrote: 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,