Re: [PHP-DB] PHP-MySQL connection for particular module

2008-06-19 Thread bateivan
-275 wrote: > > > > http://myprojects.srhost.info > eric{at}myprojects{dot}srhost{dot}info > - Original Message - > From: "bateivan" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, June 17, 2008 11:19 PM &g

Re: [PHP-DB] PHP-MySQL connection for particular module

2008-06-19 Thread bateivan
lso, I am posting my "database.php" which is > establishing the connection and is included in every page through > "layout.php"->"common.php"->"database.php". > > To bateivan: > > I can only guess that the database.php file isn't co

Re: [PHP-DB] PHP-MySQL connection for particular module

2008-06-18 Thread bateivan
Hello, To answer these qwestions: 1. I am using "include" in my code. 2. About the "$link = mysql_connect('localhost', 'root', 'testing');" variable. I can just include this line before mysql_query function and it works even without entering into mysql_query the "$link" variable. (Like the connec

Re: [PHP-DB] PHP-MySQL connection for particular module

2008-06-18 Thread bateivan
Thank you, Chris, I tried your suggestion using regular connection. Unfortunately, I got the same result. See my reply to Isaak,s reply where I am going to post portion of my code to visualize what I am talking about. Thanx again chris smith-9 wrote: > > >> It means that either your mysql co

[PHP-DB] PHP-MySQL connection for particular module

2008-06-17 Thread bateivan
Hello, First of all, please, have in mind that I am new in this business. I have a problem connecting with data base in one particular module. That's right. The rest of the modules can connect to db, update tables with new info but this one is refusing giving me message like this: "Warning: mys