Re: [PHP-DB] Prevent global usage of last MySQL-Connection?!
[email protected] (Chris)
| Newsgroups | php.db |
|---|---|
| Message-ID | <[email protected]> |
> I recognized the problem is: if no specific resource is given in > mysql_connect() the function uses automatically the last connection. > > > > SO MY QUESTION IS NOW: HOW TO PREVENT THIS? You can't unless you want to modify the php source code (written in C) and then you're stuck running a modified version everywhere - which is no good if you're going to share your code (run on multiple servers, or run on other peoples servers). -- Postgresql & php tutorials http://www.designmagick.com/