Re: Removing Irregular characters
| From: | liljim | Date: | Wed, 24 Apr 2002 09:39:45 +0000 |
| Subject: | Re: Removing Irregular characters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94338@lists.php.net to get a copy of this message | ||
Hello Liam,
varchar WILL work. Just ensure that you're applying addslashes() to the
input before putting it into the database.
http://www.php.net/addslashes
James
"Liam Mackenzie" <phplist@operationenigma.com> wrote in message
news:00a501c1eb6f$08a6f060$0400a8c0@enigma...
> Hello
>
> I have a form that is to entered into a MySQL database.
> A couple of the feilds must contain irregular characters, such as
> (/\+;]{'.,<:"?>}|_~`)
>
> What MySQL Field type should I use?
> varchar doesn't work.
>
>
> Thanks, Liam
>
>
>