in reply to Issuing a DELETE statement with DBI

First of all, you really really really want to use place holders for starters, to prevent SQL injection (also see a column on this by merlyn).

And to be honest, I think that'd solve your quoting problem too (for I assume the lack of quotes around the $testTitle is giving your DB problems)

(besides the commit answer, given by aquarium, of course).

--
b10m

All code is usually tested, but rarely trusted.
  • Comment on Re: Issuing a DELETE statement with DBI

Replies are listed 'Best First'.
Re^2: Issuing a DELETE statement with DBI
by mattdope (Acolyte) on Sep 01, 2006 at 09:35 UTC
    cheers mate will give that a try