RE: [PHP] Help with INSERT query

2001-01-24 Thread Thor M. Steindorsson
Some of your single quotes between values are missing (the . "','" . ), messing up the query. However it would probably be easier to do the addslashes() beforeyou do the query so you don't have to break the query up like that. So I'd do it like this: }else{ // Insert new entry $Name = addslashes

Re: [PHP] Help with INSERT query

2001-01-24 Thread Darren Evans
""Thor M. Steindorsson"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Some of your single quotes between values are missing (the . "','" . ), > messing up the query. > However it would probably be easier to do the addslashes() beforeyou do the > query so you