Re: [PHP] Removing Irregular characters

2002-04-24 Thread heinisch

At 24.04.2002  19:03, you wrote:
>
>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.


Even this is a definitive mysql-question, try to addslashes() before you
insert your data in the DB, then varchar, text, mediumtext shall work.
Oliver


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





[PHP] Removing Irregular characters

2002-04-24 Thread Liam MacKenzie

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




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