I don't know why the original author of the code choose to use pconnect???. I would imagine there was a reason but who knows they could have been out to lunch that day.😕
I'll read up on pconnect and myconnect but I'm sure I will need some advice.
I'll post the whole file this evening when I get home from work.
I'm sure the function that is requesting connection is just below the connection class posted above. Then below that I know the rest is nothing but MySQL insert, delete and update functions, which are used thoughout the rest of the code