summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2003-02-13 08:54:46 +0000
committerGeorg Richter <georg@php.net>2003-02-13 08:54:46 +0000
commit124f76c557fdcd8044c39866ba585da22e4a0ac5 (patch)
tree2d1c7d78a17cb9cfd33043c80fc70351402f2002 /ext/mysqli/tests
parent1b46eeb1cf51028616039384b4061e7e81e286d4 (diff)
downloadphp-git-124f76c557fdcd8044c39866ba585da22e4a0ac5.tar.gz
removed warnings (unused vars)
Diffstat (limited to 'ext/mysqli/tests')
-rw-r--r--ext/mysqli/tests/001.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mysqli/tests/001.phpt b/ext/mysqli/tests/001.phpt
index 9386f500ed..fca937cf5d 100644
--- a/ext/mysqli/tests/001.phpt
+++ b/ext/mysqli/tests/001.phpt
@@ -4,10 +4,11 @@ mysqli connect
<?
$user = "root";
$passwd = "";
+ $dbname = "test";
$test = "";
/*** test mysqli_connect 127.0.0.1 ***/
- $link = mysqli_connect($host, $user, $passwd);
+ $link = mysqli_connect("127.0.0.1", $user, $passwd);
$test .= ($link) ? "1" : "0";
mysqli_close($link);