]> granicus.if.org Git - php/commitdiff
removed warnings (unused vars)
authorGeorg Richter <georg@php.net>
Thu, 13 Feb 2003 08:54:46 +0000 (08:54 +0000)
committerGeorg Richter <georg@php.net>
Thu, 13 Feb 2003 08:54:46 +0000 (08:54 +0000)
ext/mysqli/tests/001.phpt

index 9386f500ed0fdc7ac342404da28e1e7140d75f83..fca937cf5dc57f86c6a2f4ae951433c3f5107a33 100644 (file)
@@ -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);