Jump to content
Larry Ullman's Book Forums

Honey Agrawal

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Honey Agrawal

  1. I am also getting an error in my code while searching something..

    I am sending my code please check it once and then revert me back with the correct code.

    <?php
    $result = mysqli_query($con,"SELECT * FROM `packages` WHERE `Name`, `Cities`, `Destinations`, `Duration`");
    $rows = mysqli_num_rows($result);
    echo $rows;
    ?>

    Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in C:\xampp\htdocs\search\bar.php on line 29

    this error is coming .. please resolve this error

×
×
  • Create New...