[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-db
Subject:    [PHP-DB] Re: Using apostrophe's within a text field
From:       59.100.150.207
Date:       2007-03-28 6:52:55
Message-ID: C3.87.02413.8C01A064 () pb1 ! pair ! com
[Download RAW message or body]

Stephen Smith wrote:

> OK guys, here is my delima, which is probably very easy to solve, but I
> can't seem to find it.  I am trying to get form fields to accept
> apostrophes within the input and stop crashing on me.  I'm writing forms
> into a mysql database and everything works great unless the user enters a
> word like "won't" or "can't".  Them it crashes during the form submit. 
> What can I do to fix this stupid thing anyway?
> 
> thanks in advance.
> 
> Steve Smith

http://php.net/mysql_real_escape_string

The manual is your friend.


Cheers
-- 
David Robley

I'm Serfectly Pober.
Today is Boomtime, the 14th day of Discord in the YOLD 3173. 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic