Re: [PHP] See if this makes any sense / Att. Richard Lynch

2006-10-05 Thread Deckard
Hi Richard, Richard Lynch wrote: > I'm baffled why you'd be rolling your own instead of using an existing > abstraction layer, and even more baffled why you wouldn't just skip > all this and just do: I'm already using AdoDB, which is excelent, but somethings requires a lot of code. I'm trying to w

Re: [PHP] See if this makes any sense

2006-10-05 Thread Richard Lynch
You do *NOT* want to re-connect to the database on every InsertDB! That's very expensive in resources/time. Do that once in the constructor and be done with it for as many Inserts as you need. I'm baffled why you'd be rolling your own instead of using an existing abstraction layer, and even mor

Re: [PHP] See if this makes any sense

2006-10-05 Thread Brad Bonkoski
Deckard wrote: Hi, I've burned my brain, checked other sites and come to a code that works. I ask you, please, to see if this makes any sense and/or can be improved. I'd really appreciate. Warm Regads, Deckard dbInsert.php: ---

[PHP] See if this makes any sense

2006-10-05 Thread Deckard
Hi, I've burned my brain, checked other sites and come to a code that works. I ask you, please, to see if this makes any sense and/or can be improved. I'd really appreciate. Warm Regads, Deckard dbInsert.php: --- table = $table;