Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    FilipKrivcik
    @FilipKrivcik
    Hi, I have error message(please help me) :
    http://localhost/<br /><b>Warning</b>: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in
    <b>C:\xampp\htdocs\TEST\Functions\urlShortner.php</b> on line <b>34</b><br /><br /><b>Warning</b>: mysqli_num_rows()
    expects parameter 1 to be mysqli_result, boolean given in <b>C:\xampp\htdocs\TEST\Functions\urlShortner.php</b> on line <b>35</b><br />
    Himanshu Singh
    @lazycipher
    It's because the "$execute = $this->db->conn->query("SELECT * FROM shorten WHERE originalUrl = '$originalUrl'");" is not getting executed.
    It seems there's some problem with Database Connection.
    FilipKrivcik
    @FilipKrivcik
    What is written in the database?
    Himanshu Singh
    @lazycipher
    um!! wait i'll upload the db structure by tomorrow evening. Busy right now
    FilipKrivcik
    @FilipKrivcik
    Thanks.