<?php // YOU NEED TO CHANGE THE CONTENTS OF THE values of variables given in single quotes //CONFIGURATION SECTION STARTS /// $servername='localhost' ; // Replace this 'localhost' with your server name $database_username='root'; // Replace this with your username $database_password='password'; // Replace this with your password $database_name='linkex'; // Replace this 'db' with your database name // CONFIGURATION SECTION ENDS //// mysql_connect($servername,$database_username,$database_password); mysql_select_db($database_name); ?>