Closed apmuthu closed 3 years ago
The $db_server
variable should be initialised to localhost instead of blank.
It should be like:
$db_server = 'localhost';
$db_name = 'MyDB';
$db_user = 'root';
$db_password = '';
$no_of_records_per_page = 10;
$link = mysqli_connect($db_server, $db_user, $db_password, $db_name);
The config.php file that is generated has the db parameters after the hardcoded
mysqli_connect
statement. The db parameters should be first set and they should be used in themysqli_connect
statement.