Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • have an error of Warning: mysql_num_rows() expects exactly 1 parameter, 2 given in C:\wamp64 Commented Dec 5, 2016 at 5:36
  • Updated answer will solve the issue. @joneltimblaco Commented Dec 5, 2016 at 5:49
  • still have an 3 error Warning: mysqli_query() expects at least 2 parameters, 1 given in C in $sql=mysqli_query and Warning: mysqli_query() expects at least 2 parameters, 1 given in C in mysqli_query($sql); and Warning: mysqli_num_rows() expects exactly 1 parameter, 0 given in C in if (mysqli_num_rows Commented Dec 5, 2016 at 7:34