INEEDHELP101 Posted July 14, 2018 Share Posted July 14, 2018 need help about this one.. line 14.. the error is on the title.. thank you Link to comment Share on other sites More sharing options...
requinix Posted July 14, 2018 Share Posted July 14, 2018 mysqli_query() does not return all the rows from the query. You need mysqli_num_rows. Link to comment Share on other sites More sharing options...
INEEDHELP101 Posted July 14, 2018 Author Share Posted July 14, 2018 I tried it.. It turns out to be an error. Link to comment Share on other sites More sharing options...
ginerjm Posted July 14, 2018 Share Posted July 14, 2018 Care to show us how you "tried it"? Link to comment Share on other sites More sharing options...
INEEDHELP101 Posted July 15, 2018 Author Share Posted July 15, 2018 Link to comment Share on other sites More sharing options...
requinix Posted July 15, 2018 Share Posted July 15, 2018 Look at my post, click the link to the documentation for mysqli_num_rows, see how it's supposed to be used, and fix your code accordingly. Link to comment Share on other sites More sharing options...
ginerjm Posted July 15, 2018 Share Posted July 15, 2018 OMG! Does anybody EVER read a manual/reference/book/tutorial before embarking on writing code anymore??? OP - If you had taken 5 minutes to look at the manual and do a search on the function in question here you would not only have learned something but have seen a perfectly good usage of said function and NOT be posting here for more help on this particular error. We try to help out those who help themselves so please try to hold up your end of the bargain. (Please forgive my rant but I had to vent a little.) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.