mysql_connect($sqlhost, $sqluser, $sqlpass) or die(mysql_error()); mysql_select_db($sqldb) or die(mysql_error());
Is this normal making a connection in every class? I know in java we can set up a connection pool which improves efficieny, is there something similar in php? Also, if there is something like a connection pool available, does it make a big difference in performance?
Cheers
Nick

New Topic/Question
Reply




MultiQuote







|