[ php ] september 21 2011

PHP Code $con = mysql_connect(“localhost”,”db name”,”password”); Code Dissection 1. $con — Variable. All variables in PHP start with a $symbol . 2. mysql_connect() — A PHP function . This function help to connect to the database and get access. resource mysql_connect ([ string $server = ini_get(“mysql.default_host”) [, string $username = ini_get(“mysql.default_user”) [, string $password = …