phptest-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phptest-users] backslash pain. Single quote suffering.


From: dank
Subject: Re: [Phptest-users] backslash pain. Single quote suffering.
Date: Tue, 06 Aug 2002 21:32:32 -0700

OK, thanks!
- Dan

Brandon Tallent wrote:
> 
> Postnuke uses a function called pnPrepVar or something
> like that that takes a variable and prepares it for
> input into the database.  It works well, and single
> and double quotes end up in the database just as you
> would expect them.  Escaping quotes is one of the
> pain-in-everyones-ass things about php and mysql.  I'm
> going to use the postnuke function soon to get rid of
> the quote problem once I get some other stuff done.
> As I said before I'm in the middle of a massive code
> re-write, getting rid of a lot of old cruft and
> generally making the code prettier.  So I wont be able
> to get to any of this other stuff for at least a week
> or two.
> 
> Brandon
> 
> --- address@hidden wrote:
> > My test uses backslashes in its questions and
> > answers.
> > Painfully, phptest strips them.  You can sneak them
> > in if you double them -- but you have to do that
> > again
> > if you revise the question.  Looks like one
> > backslash gets
> > stripped on entry.
> >
> > Please make backslashes a plain old character in the
> > entry screens.  (Ditto for single quote!)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]