I think you've given me a bit to work with. Thank you kindly. It is nighty night time. I'll try it out tomorrow. Thanks.
BTW, I regularly use sql statements in functions without recalling the connection.
like:
//connection
function blah() {
// whatever code with sql queries
}
$var = blah;
//disconnection
So if I'm already connected, and not disconnected until after the function is called, why would it not already be in the functions scope?
Bah, trying to learn OOP is such a headache.
Herk