Diff for scripts/php/mysql-test/mysql-test.php between version 1.3 and 1.4
| version 1.3, 2006/07/13 07:47:26 |
version 1.4, 2006/07/13 07:49:35 |
|
|
| // Database connection |
// Database connection |
| // |
// |
| notice('Connecting to server'); |
notice('Connecting to server'); |
| if (($db_handle = @mysql_connect()) == FALSE) { |
if (($db_handle = @mysql_connect($db_host, $db_user, $db_pass)) == FALSE) { |
| echo "ERROR\n\n"; |
echo "ERROR\n\n"; |
| die('mysql_connect() failure: ' . mysql_error() . "\n"); |
die('mysql_connect() failure: ' . mysql_error() . "\n"); |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|