addslashes() might help you.

--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com



On Fri, 17 Aug 2001 17:16:18 +0200
"Dennis van Zanten" <[EMAIL PROTECTED]> wrote:

> It's MYSQL I allready have located the problem but I still doesn't have
> a
> sollution?
> The problems are cost by slashes back slashes and ( ) signs in the
> fields
> because I put the insert query into a string it doens't work out....
> 
> Is there a function that solves this problem?
> thanks,
> 
> Dennis
> 
> 
> ----- Original Message -----
> From: "J Smith" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, August 17, 2001 10:33 AM
> Subject: Re: [PHP] What is wrong ????
> 
> 
> >
> > It might also help to know what database you're using, as the syntax
> > between them all can vary slightly. PostgreSQL? MySQL? Oracle? Ingres?
> >
> > J
> >
> >
> > Dennis Van Zanten wrote:
> >
> > > Ofcourse sorry:
> > >
> > > You have an error in your SQL syntax near
> '','','010','CVs','','7-12-2000
> > > 12:52:25','ADMIN','7-12-2000 12:52:25','ADMIN','S' at line 27
> > >
> > > The Insert below is line 27 and I see no errors in the line maybe
> you
> guys
> > > do!!
> > >
> > > thanxs,
> > > Dennis
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Tyler Longren" <[EMAIL PROTECTED]>
> > > To: "Dennis van Zanten" <[EMAIL PROTECTED]>
> > > Cc: <[EMAIL PROTECTED]>
> > > Sent: Friday, August 17, 2001 4:06 PM
> > > Subject: Re: [PHP] What is wrong ????
> > >
> > >
> > >> Well, what's the error?
> > >>
> > >> Tyler Longren
> > >> Captain Jack Communications
> > >> [EMAIL PROTECTED]
> > >> www.captainjack.com
> > >>
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to