RE: [PHP] Re: Need help with a stupid problem!
| From: | De Necker Henri | Date: | Thu, 29 Nov 2001 12:54:06 +0000 |
| Subject: | RE: [PHP] Re: Need help with a stupid problem! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-76027@lists.php.net to get a copy of this message | ||
My output is still the same!
It looks like this : ba = \'DA\'
:)
-----Original Message-----
From: Julio Nobrega Trabalhando
[mailto:inerteARROBAhotmail.com@pb1.pair.com]
Sent: 29 November 2001 13:54
To: php-general@lists.php.net
Subject: [PHP] Re: Need help with a stupid problem!
Worry not, easier typing:
$search .= " ba = '$b'";
If above doesn't satify the needs, maybe you are mysql_escape_string();
it?
--
Julio Nobrega
No matter where you go, &this.
"De Necker Henri" <deNeckerH@ford.co.za> wrote in message
news:3A8ED7A62794D311AA7700508B6164EC08DCA3E5@SCPTS01...
> Hi there!
>
> I want to do the following piece SQL query :
> $search .= " ba = '".$b."'";
>
> I want it to be like the following :
> ba = 'someting'
>
> But this is what i get :
> ba = \'someting\'
>
> What am i doing wrong?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net