diff options
Diffstat (limited to 'ext/mysqli/tests/030.phpt')
| -rw-r--r-- | ext/mysqli/tests/030.phpt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/mysqli/tests/030.phpt b/ext/mysqli/tests/030.phpt index da87218627..9bf7369a22 100644 --- a/ext/mysqli/tests/030.phpt +++ b/ext/mysqli/tests/030.phpt @@ -2,11 +2,10 @@ function test: mysqli_errno --FILE-- <?php - $user = "root"; - $passwd = ""; + include "connect.inc"; /*** test mysqli_connect 127.0.0.1 ***/ - $link = mysqli_connect("localhost", $user, $passwd); + $link = mysqli_connect($host, $user, $passwd); $errno = mysqli_errno($link); var_dump($errno); |
