Rozdiely pre scripts/php/mysql-test/mysql-test.php medzi verziami 1.3 a 1.4
| verzia 1.3, 2006/07/13 07:47:26 |
verzia 1.4, 2006/07/13 07:49:35 |
| Riadok 68 if (! $silent) { |
|
| Riadok 68 if (! $silent) { |
|
| // 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.sk> http://platon.sk/
|
|