Help for this page

Select Code to Download


  1. or download this
        # Now try the explicit type settings
        Test($state or $cursor->bind_param(1, " 4", SQL_INTEGER()), 'bind 
    +1')
    ...
                      $id, $name, $ref, scalar(@$ref));
    -->
    t/40bindparam.t .... ok
    
  2. or download this
      # Now try the explicit type settings
      ok ($sth->bind_param (1, " 4", &SQL_INTEGER),   "bind 4 int");
    ...
    # Looks like you failed 1 test of 40.
    t/42_bindparam.t ....... Dubious, test returned 1 (wstat 256, 0x100)
    Failed 1/40 subtests