I have created a database" wrapper" class to assist me in using the MySql connector interface. Anyway, I created and OpenConn() and CloseConn() function which has error checking built in to the functions so I don't have to manually write this each time I want to connect or close a connection.
My question is how can I keep the connection open between function calls? (because it seems as if when each function/method ends, the connection is closed. )
My question is how can I keep the connection open between function calls? (because it seems as if when each function/method ends, the connection is closed. )