My output is still the same!
It looks like this : ba = \'DA\' 

:)

-----Original Message-----
From: Julio Nobrega Trabalhando
[mailto:[EMAIL PROTECTED]]
Sent: 29 November 2001 13:54
To: [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]> wrote in message
3A8ED7A62794D311AA7700508B6164EC08DCA3E5@SCPTS01">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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to