hi,
i am using a complete db based system for my website. everysingle text is imported from the db to the webpage, which is generated by using PHP.
right now i am using simple mysql_connect(), and not pconnect().
every hit on a link makes a new connection to db -> gets the data -> and displays on the page -> then closes the connection.
i am wondering if its wiser to have it this way. i recieve an average of 5000 hits a day. using pconnect() or not, i am not sure if that makes that much difference becuase the SQL server is on same machine.
secondly i how does the system works with pconnect()? if a script has pconnect() included in it, so whenever a link is clicked or the script is accessed, it will make another pconnect() connection. or not?
thanks for reading,
regards,
Daarius...