Re: Need help with a stupid problem!
| From: | Julio Nobrega Trabalhando | Date: | Thu, 29 Nov 2001 11:53:51 +0000 |
| Subject: | Re: Need help with a stupid problem! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76012@lists.php.net to get a copy of this message | ||
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?