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 conenction details are not correctly set >> or >> the connection resource isn't accessible for your mysql functions. I >> suggest >> you first try by replacing: >> >> $link = mysql_pconnect('localhost', 'root', 'testing'); >> >> into: >> >> mysql_pconnect('localhost', 'root', 'testing'); > > Why? How is that going to help fix the problem? > > Personally I'd say to *not* use persistent connections as it will cause > you problems later. > > Use a normal connection: > > $link = mysql_connect($server, $user, $pass); > > -- > Postgresql & php tutorials > http://www.designmagick.com/ > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- View this message in context: http://www.nabble.com/PHP-MySQL-connection-for-particular-module-tp17915108p17989584.html Sent from the Php - Database mailing list archive at Nabble.com. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php