Re: Using apostrophe's within a text field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux