if( !$db->PConnect( $host, $username, $password, $dbname )) {
if( !$db->NConnect( $host, $username, $password, $dbname )) {
if( !$db->Connect( $host, $username, $password, $dbname )) {