[PHP] re:[PHP] determining number of rows in a mysql table

2004-03-31 Thread Andy B
$count = mysql_result($rows, 0, 'count');

i guess that would work too if all you need is the # of rows in a table...
if you need it in an array then...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] re:[PHP] determining number of rows in a mysql table

2004-03-31 Thread Richard Davey
Hello Andy,

Wednesday, March 31, 2004, 7:02:59 PM, you wrote:

AB i guess that would work too if all you need is the # of rows in a table...
AB if you need it in an array then...

... then you read the part of my post that said There's no need to
extract the result into an array **in this instance**, why bother giving
PHP that extra overhead?

I **highlighted** the relevant part for you :)

Don't forge that nearly all replies to this list are meant in the
context of the original problem, not generically, and this was
certainly no exception.

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] re:[PHP] determining number of rows in a mysql table

2004-03-31 Thread Andy B
I **highlighted** the relevant part for you :)

i know what you mean... if you highlighted the part you were talking about
with color then would explain why i didnt get what part you were talking
about... my screen reader doesnt pay much attention to color highlights so
probably missed it...

sorry...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] re:[PHP] determining number of rows in a mysql table

2004-03-31 Thread Richard Davey
Hello Andy,

Wednesday, March 31, 2004, 7:21:44 PM, you wrote:

AB i know what you mean... if you highlighted the part you were talking about
AB with color then would explain why i didnt get what part you were talking
AB about... my screen reader doesnt pay much attention to color highlights so
AB probably missed it...

I don't use colour in emails to this (or any) list, sorry. I would
have hoped the screen reader said asterisk asterisk highlighted
(etc).

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] re:[PHP] determining number of rows in a mysql table

2004-03-31 Thread Andy B
I don't use colour in emails to this (or any) list, sorry. I would
have hoped the screen reader said asterisk asterisk highlighted

all i heard it say was *** on the line that said something like
***highlighted... but thats whas only when you referrenced to you
highlighted the stuff... anyways all is better now and i can drop out of
this thread ...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php