~legolas/ubuntu/natty/php5/5.3.5

« back to all changes in this revision

Viewing changes to ext/mysqli/tests/023.phpt

  • Committer: Stas Verberkt
  • Date: 2011-02-01 09:27:15 UTC
  • Revision ID: legolas@legolasweb.nl-20110201092715-yq052iu2yl4i2eyg
Inserted PHP 5.3.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
                c7 int)");
26
26
 
27
27
        $stmt = mysqli_prepare($link, "INSERT INTO test_bind_fetch VALUES (?,?,?,?,?,?,?)");
28
 
        mysqli_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7);
 
28
        mysqli_stmt_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7);
29
29
        $c1 = -23;
30
30
        $c2 = 35999;
31
31
        $c3 = NULL;
34
34
        $c6 = -0;
35
35
        $c7 = 0;
36
36
 
37
 
        mysqli_execute($stmt);
 
37
        mysqli_stmt_execute($stmt);
38
38
        mysqli_stmt_close($stmt);
39
39
 
40
40
        $stmt = mysqli_prepare($link, "SELECT * FROM test_bind_fetch");
41
 
        mysqli_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7);
42
 
        mysqli_execute($stmt);
43
 
        mysqli_fetch($stmt);
 
41
        mysqli_stmt_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7);
 
42
        mysqli_stmt_execute($stmt);
 
43
        mysqli_stmt_fetch($stmt);
44
44
 
45
45
        $test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7);
46
46