Tag Archives: how to select mysql db using php code

Select mysql database using php

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 ——-