I have two database server. ex:
(1) Local Server:
$host = "localhost";
$user = "root";
$pass = "";
$db="edoctor_s";
(2) Remote server
$host = "****.****.net";
$user = "***_***";
$pass = "****";
$db="*****";
if remote server is not found then local server will be active. I want to use them into one php config file.