On Monday 10 Jun 2002 2:37 pm, Markus Lervik wrote:
> On Monday 10 Jun 2002 2:15 pm, Rene Schoenmakers wrote:
> > Hi,
> > I know what's causing the problem. In $newsText sometimes single quotes
> > are entered. There the error occurs. How can I escape these singel
> > quotes?
> with $newsText = addslashes($newsText);
Oh yea, forgot to mention, when pulling the field back from the database, use
the stripslashes -function in the same manner.
Vaasa City Library - Regional Library, Finland
+358-6-325 3589/+358-40-832 6709
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php