summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/029.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/029.phpt')
-rw-r--r--ext/mysqli/tests/029.phpt6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/mysqli/tests/029.phpt b/ext/mysqli/tests/029.phpt
index 7680b228e9..6fea5b889d 100644
--- a/ext/mysqli/tests/029.phpt
+++ b/ext/mysqli/tests/029.phpt
@@ -2,12 +2,10 @@
function test: mysqli_affected_rows
--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);
mysqli_select_db($link, "test");