16 lines
388 B
PHP
16 lines
388 B
PHP
<?php
|
|
|
|
$mysqli = mysqli_connect('119.18.63.96', 'railtech_tender', 'tender@');
|
|
|
|
/* Test the mysqli connection */
|
|
if (mysqli_connect_errno()) {
|
|
printf("Connection failed: %s\n", mysqli_connect_error());
|
|
exit();
|
|
}
|
|
|
|
/* Print the mysqli server version */
|
|
printf("mysqli server version: %s\n", mysqli_get_server_info($mysqli));
|
|
|
|
/* Close the mysqli connection */
|
|
mysqli_close($mysqli);
|
|
?>
|