Re: Problem with apostrophes!!
| From: | Kenneth R Zink II | Date: | Tue, 13 Mar 2001 03:47:31 +0000 |
| Subject: | Re: Problem with apostrophes!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43611@lists.php.net to get a copy of this message | ||
Ok, I'm pretty sure I need to use the "addslashes" function, but I'm not
sure how to implement it.
The 2 variables that I would need to addslashes are $sire and $dam.
can someone please help me, this is new to me.
Thanks.
Kenneth R Zink II Hellcat1@S-Series.Org ICQ# 5095094
'87 GMC S-15 Ext. Cab (Hurricane) ...BBC 524 being built !!!
http://www.s-series.org/htm/windstorm/project-windstorm.htm
'85 Chevy S-10 Blazer (FireStorm) ...Soon to be 3.4L SFI !!!
http://www.s-series.org/htm/firestorm/firestorm.htm
'84 Oldsmobile Delta 88 Delta 88 Royal Brougham.
Racing by the grace of God!!!
> My MySQL insert statements is returning errors when a field has an
> apostrophe in it. (I.E. Ken's) is there a way to get around that without
> using the \ in front of the apostrophes??
>
> I've never had this problem before, in the past (on different servers)
when
> a variable is inserted, it just accepted it.
>
> Help!! I need to know A.S.A.P.
>
> Kenneth R Zink II Hellcat1@S-Series.Org ICQ# 5095094
> '87 GMC S-15 Ext. Cab (Hurricane) ...BBC 524 being built !!!
> http://www.s-series.org/htm/windstorm/project-windstorm.htm
> '85 Chevy S-10 Blazer (FireStorm) ...Soon to be 3.4L SFI !!!
> http://www.s-series.org/htm/firestorm/firestorm.htm
> '84 Oldsmobile Delta 88 Delta 88 Royal Brougham.
> Racing by the grace of God!!!