It works! Thanks!
-Original Message-
From: Markus Lervik [mailto:[EMAIL PROTECTED]]
Sent: maandag 10 juni 2002 13:37
To: Rene Schoenmakers; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] problem with mysql_query
On Monday 10 Jun 2002 2:15 pm, Rene Schoenmakers wrote:
> Hi,
>
> I kn
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 $newsTex
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);
http://www.php.net/manual/en/function.
Rene Schoenmakers
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] problem with mysql_query
On Monday 10 Jun 2002 12:14 pm, Rene Schoenmakers wrote:
> Hi,
>
> I've a problem with the following script. Sometimes it does write the
> data into the database, sometimes it doesn't. Wh
On Monday 10 Jun 2002 12:14 pm, Rene Schoenmakers wrote:
> Hi,
>
> I've a problem with the following script. Sometimes it does write the
> data into the database, sometimes it doesn't. When it doesn't $result is
> completely blank, otherwise it is 1. $sql always returns the propper
> values even t