Jump to content

: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\Admin\web\Origin.php on line 14


Recommended Posts

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.

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.)

  • Like 1
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.