in reply to updating a database
I would also recommend you use placeholders. Not only will that make your code faster (you need just one prepare), you also have less problems with quoting. And what's the deal with backwacking the double quotes? And why put the column names in backticks? Why does the loop run till $i equals $#test, when the code doesn't show @test? Why don't you check the return values of the prepare and the execute?
Abigail
|
|---|