|Don't ask to ask, just ask|
Re: Looking for elegant solution to dbi coding problemby injunjoel (Priest)
|on Jul 15, 2005 at 22:48 UTC||Need Help??|
One suggestion would be to prepare the statement with ?'s and then re-use it for each line.
The following code is untested... you have been warned.
The ?'s will handle the quoting for you, DBI is nice that way.
This assumes that its the same $table for each line, but it saves the overhead of preparing the query each time.
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo