So to summarize ..
holiks says it would be better for me to use pconnect since I do lot\'s of connection in the page, and there isn\'t a single page, that doesn\'t require a query.
For akitchin:
www.php.net says:
By reading the definition of pconnect on php.net, it looks like it works almost like a session but for MySQL but does it close if the user closes the web browser ?? Or does it stay open for other visitors ??
I also found this part on php.net that pretty much answers most of my questions:
So if someone is browsing the webpage and idles for 3-5min, i believe that the connection will still be active, causing a +1 on the connection limit.
I will propably do mysql_connect at the beginning and mysql_close at the end for now.
If anyone can add anything on pconnect would be greatly appreciated.
Thank you