in reply to Insert into DB problem
At first glance I see two things which may not be errors but which are not the best way to do things. First, take the connect statement out of the loop, or at a minimum replace it with connect_cached() - there's no reason I can think of to keep connecting again and again. Second, use placeholders!
On the error side ... do you really want two periods after "MeterMusciTemp"?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Insert into DB problem
by pjofnj (Initiate) on May 25, 2005 at 16:01 UTC | |
by jZed (Prior) on May 25, 2005 at 16:09 UTC |