database connection in php

mySQL connection in PHP

by admin on February 20, 2012

Making a database connection in php to the mySQL database is done by “mySql_connect”. mysql_connect — Open a connection to a MySQL Server resource mysql_connect ([ string $server = ini_get("mysql.default_host") [, string $username = ini_get("mysql.default_user") [, string $password = ini_get("mysql.default_password") [, bool $new_link = false [, int $client_flags = 0 ]]]]] )

{ 1 comment }