This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-10-23 09:04:58

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Althernative to mysql_num_rows()

I can't find anyother althernatives online, so I'm wondering if there even is any?


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#2 2011-10-23 10:02:34

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: Althernative to mysql_num_rows()

Why don't you just use mysql_num_rows?  tongue


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#3 2011-10-23 10:08:58

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Althernative to mysql_num_rows()

meew0 wrote:

Why don't you just use mysql_num_rows?  tongue

60 sec rule -  GGGGGGGGGGGGGGRRRRRRRRRRRRRRRRRRRRRRRRr


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#4 2011-10-23 10:34:51

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Althernative to mysql_num_rows()

BECAUSE MYSQL_NUM_ROWS() WON'T WORk


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#5 2011-10-23 15:11:09

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: Althernative to mysql_num_rows()

SELECT COUNT(*) FROM...
Then:
mysql_result(...

(Google "MySQL COUNT".)

Last edited by TheSuccessor (2011-10-23 15:11:34)


/* No comment */

Offline

 

Board footer