[PHP] Re: odd class/session/db behaviour

2002-05-29 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Tim Ward declared > I'm not sure if this is your problem but are you closing the connection > anywhere in the script? Nope. thanks though... - -- Nick Wilson // www.explodingnet.com -BEGIN PGP SIGNATURE- Version: Gnu

[PHP] RE: odd class/session/db behaviour

2002-05-29 Thread Tim Ward
I'm not sure if this is your problem but are you closing the connection anywhere in the script? e.g. function Fred() { $freddb = mysql_connect("servername","user","password"); mysql_close($freddb); } $db = mysqlconnect("servername","user","password"); Fred(); Mysql_query("select