1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #2858 invalid

ERROR - 2011-07-18 13:42:28 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given

Anonymous created an issue

Hi, i am getting this error "ERROR - 2011-07-18 13:42:28 --> Severity: Warning --> mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given D:\xampp174\htdocs\bb\system\database\drivers\mysqli\mysqli_result.php 37" when ever i INSERT something in database i am using mysqli driver for codeigniter

This is what written on line 37 of mysqli_result.php function num_rows() { return @mysqli_num_rows($this->result_id); }

although INSERT statement works perfectly but my log get this error and the result set is empty $result = $this->db->query($sql, array($arrMemberInfo['first_name'], $arrMemberInfo['last_name'], $arrMemberInfo['email'], $arrMemberInfo['passcode']));

here $result will be empty

Comments (2)

  1. Erik van Zijst staff

    Hi Anonymous,

    Looks like you raised this issue in the wrong repository. This is the bitbucket repo for issues in _bitbucket_ itself, not any of our users' projects. Maybe you're looking for the CodeIgniter project?

    Cheers, Erik

  2. Anonymous

    So where should i post codeigniter realted bugs i came to this site from codeigniter.com > Bug Tracker

  3. Log in to comment