I use a database connection in both functions. In function #1, I use the following line:
$connection1=Connect_To_DB();
where Connect_To_DB() is a function I wrote to make the connection automatically and return the connection as a variable back to the calling program.
In function #2, I use a similar line
$connection2=Connect_To_DB();
Now for my questions:
1) Why did this not prevent the connections from interfering with each other?
2) If I need to global one of my connections, which one does it need to be, Function #1, Function #2, or both?
Thanks for the assistance.