0
jabber posted
mysql connection for differ server
i work mostly code at localhost and than upload at server.so problem arise that i need to modify connection.php file every time to change username/password/database detail. also arise same problem when with working differ server with same script .
connection.php
mysqlconnect('host2', 'user2', 'password2');
mysql_select_db('db2');
so any solution for it . so it avoid to change connection file every time when we upload from one server to another ?