Programmer error! My apologies!
A technique I have used for some time is to daisy chain the opening of the table classes so the DB is opened only one time. Each major table has it's own class that contains the special queries and they are opened like this:
$ses = new sessions($link, $gvars[host], $gvars[user], $gvars[password], $gvars[database]);
$link = $ses->link;
$fam = new families($link, $gvars[host], $gvars[user], $gvars[password], $gvars[database]);
$peo = new people($link, $gvars[host], $gvars[user], $gvars[password], $gvars[database]);
The $link for the first table class is null, so the first class creates the $link (DB connection). In cloning the classes for a new project, I left out the statement that checks to see if the class created the $link: if it did, then it will close the DB else ignore the mysql_close().
The table classes, other than the first, were trying to close the DB that had already been closed!!