Jump to content

mysql_num_rows depreciation/removal


Q695
Go to solution Solved by seandisanti,

Recommended Posts

Really? The big bright red box telling you it's deprecated and with the option of two new extensions to use, with specific links to their pages in the manual...you don't see that big ole box? :-P

 

It's counting the fields in that array, not the number of arrays. :psychic:

Edited by Q695
Link to comment
Share on other sites

It's grabbing unique data for a page to load different products, and there is a handfull of almost identical products on the page they'll be linked to.  I want it to be top down for new adds, not bottom up with a maximum number of options allowed to create a new product, unless hacked.

Edited by Q695
Link to comment
Share on other sites

Really? The big bright red box telling you it's deprecated and with the option of two new extensions to use, with specific links to their pages in the manual...you don't see that big ole box? :-P

Have to give them SOME credit though, it sounds like they're still putting in a bit more effort than people still asking for help to make their mysql_ calls work. 

Link to comment
Share on other sites

This:

$count=$statement->rowCount();

Gives:

( ! ) Fatal error: Call to a member function rowCount() on a non-object in _________ on line _________

When added.

 

statement: mysql_fetch_assoc(___________);

Edited by Q695
Link to comment
Share on other sites

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.