|
06-09-2004, 07:05 AM | #1 |
Green Mole
Join Date: Jun 2004
Posts: 3
|
mysql_query()
Would it be useful if the db connection were stored in a variable and given as a parameter to all further database functions. For example:
$link = mysql_connect(......); ... mysql_query($query, $link); I run into problems including the phpdig scripts into my code because after the phpdig connection is opened, it gets used by my scripts when they call mysql_connect and vice versa. Am I interpreting this problem correctly? -Robert Douglass
__________________
-Rob ------ visit me at www.robshouse.net |
06-09-2004, 10:16 AM | #2 |
Green Mole
Join Date: Jun 2004
Posts: 3
|
Hmmm, already done that way
Please excuse me..... guilty script must be elsewhere. I see that a connection IS always passed in for all calls to mysql_query.
__________________
-Rob ------ visit me at www.robshouse.net |