Results 1 to 1 of 1
Aug 25, 2004, 06:21 #1
- Join Date
- Aug 2004
- 0 Post(s)
- 0 Thread(s)
mysql_pconnect() VS mysql_connect() wich would sute better?
im working on a PHP app that uses the same basic of a chat room.
but since i cant use java nor JS. i went with a 0frame refreshing constently and getting data from a MySQL DB.
considering this. and considering the data in the DB changes every 1-5 secondes. wich is prefared? a constent connectin to the db or the simple and relible connect?
another thing. when the window runing the pafe is closed, by the X mark without useing the connection close statment? how long till the Pconnect dies byitself?