Mysql_real_escape_string($bar)
Bastien Koert
905-904-0334
Sent from my iPhone
On 2010-10-16, at 10:41 PM, "Ron Piggott"
wrote:
> For a query similar to:
>
> SELECT * FROM `tablle` WHERE `column` LIKE 'Sally's Hair Parlor'
>
> how do I escape the ' for 's?
>
--
PHP Database Mailing List (h
For a query similar to:
SELECT * FROM `tablle` WHERE `column` LIKE 'Sally's Hair Parlor'
how do I escape the ' for 's?
Just out of curiosity, your method looks like it should work, what's the mysql
error message?
-Micah
On Friday 23 September 2005 2:28 pm, Chris Payne wrote:
> Hi there everyone,
>
> Can any of you see why the below will not insert into my database?
>
> Hann Heritage Homes' Fall Circuit entry.
look at:
mysql_escape_string();
On Friday 23 September 2005 2:28 pm, Chris Payne wrote:
> Hi there everyone,
>
> Can any of you see why the below will not insert into my database?
>
> Hann Heritage Homes' Fall Circuit entry. Fabulous ranch floorplan w/walkout
> basement. Stunning great room w/F
Hi there everyone,
Can any of you see why the below will not insert into my database?
Hann Heritage Homes' Fall Circuit entry. Fabulous ranch floorplan w/walkout
basement. Stunning great room w/FP, dramatic dining room, den, screened
porch. Mullett kitchen with glazed birch cabinets and granite.
> From: Andy [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 16, 2002 2:45 PM
> Hi there,
>
> I am putting text into a mysql db from a form field. I do include the
> linebrakes with line2br.
>
> Now I would like to create an interface where I could load
> the text into the
> form again to edi
Hi there,
I am putting text into a mysql db from a form field. I do include the
linebrakes with line2br.
Now I would like to create an interface where I could load the text into the
form again to edit it. Unfortunatelly it includes some wired chars like \br
into the text. How can I get rid of th
On Wednesday 22 August 2001 14:34, Patrik Wallstrom wrote:
> On Wed, 22 Aug 2001, Yves Glodt wrote:
> > Hello,
> >
> > I'm in trouble with my current project which uses Interbase as
> > backend. (php.ini: magic_quotes_sybase = On)
> > When I insert a string containing a ', like Beverly D'Angelo,
>
On Wed, 22 Aug 2001, Yves Glodt wrote:
> Hello,
>
> I'm in trouble with my current project which uses Interbase as backend.
> (php.ini: magic_quotes_sybase = On)
> When I insert a string containing a ', like Beverly D'Angelo,
> php saves it with two '
> When I insert it with two ', it gets saved
Hello,
I'm in trouble with my current project which uses Interbase as backend.
(php.ini: magic_quotes_sybase = On)
When I insert a string containing a ', like Beverly D'Angelo,
php saves it with two '
When I insert it with two ', it gets saved with four '
Short: php multiplies all the ' by facto
10 matches
Mail list logo