Database connect

function tep_db_connect($server = DB_SERVER, $username = DB_SERVER_USERNAME, $password = DB_SERVER_PASSWORD, $database = DB_DATABASE, $link = 'db_link') {
global $$link;

if (USE_PCONNECT == 'true') {
$$link = mysql_pconnect($server, $username, $password);
} else {
$$link = mysql_connect($server, $username, $password);
}

if ($$link) mysql_select_db($database);

return $$link;
}

POPULAR POSTS ::

Add multiple upload box

The top Web development PHP frameworks

String Separation

Mobile App Development Trends: Emerging Technologies and Innovations

React Native iOS and Android App Development

Only number restrictions