Hi I am just new to web app and I am testing my application through localhost. Therefore all my links and database codes are via localhost for example:
header('location:http://localhost/login.php
mysql_connect('localhost','root','')
My question is in deploying my website online do I need to change my code above since the domain name will not be localhost anymore.
Sample codes is much appreciated. Thanks