saintbe
09-22-2003, 09:43 AM
I've written a simple php-script that puts info in a sql-DB.
One of the areas to fill in is a textarea... and it work fine for general text. Howerer as soon as there is a ' in the textarea the entry is not put in the DB ... the old entry remains ...
Isn't there some php-funtion that allows me to put ' in the textarea and the SQL-DB just accepts it ? Or do I have to find another method ?
I've already used a php-funtion to retain the breaks in the textarea by the ln2br function... I was wondering if there is some funtion like that that allows me to use ' in my textarea and enter it in the DB.
Thx.
Kim.
One of the areas to fill in is a textarea... and it work fine for general text. Howerer as soon as there is a ' in the textarea the entry is not put in the DB ... the old entry remains ...
Isn't there some php-funtion that allows me to put ' in the textarea and the SQL-DB just accepts it ? Or do I have to find another method ?
I've already used a php-funtion to retain the breaks in the textarea by the ln2br function... I was wondering if there is some funtion like that that allows me to use ' in my textarea and enter it in the DB.
Thx.
Kim.