Select mysql database using php

By | January 31, 2014

using the below function to select a database

Syntax
—–
bool mysql_select_db($databasename,$connection);

$databasename- Name of the Database you want to select

$connection– connection string you are getting after executing mysql_connect

Example
——-