On 10 Jan 2003 at 14:05, Jean-Christian Imbeault wrote:
> Can someone recommend a way to abstract out my DB layer while still
> being able to use transactions? (persistent connections are not an
> option since there are too many inherent dangers).
Make sql_query() accept a connection as argument. Initiate it someplace else of
course before calling sql_query(). Do validate the connection in sql_query().
Simple
Bye
Shridhar
--
Afternoon, n.: That part of the day we spend worrying about how we wasted the
morning.