6
from reading help files i could find on the net, it seemed the SELECT COUNT function returned the number in the form of a MySQL resource, and in php that is what would be displayed 'Resource ID #34' or whatever, the number was not relevent to anything.
I tried placing it in an array, but I would then just get 'array'.
this is why i asked the question here, cos if there was something i had to do to the resource to get it to work.
NB im not using it to count members, it will be for match numbers and to know which match number the winner goes to for my draw moduele. and it will only be in the backend when entering a draw, placing the winner goes to match number on submitting draw.
cheers
sb..
XOOPS Version - XOOPS 2.3.2
PHP Version - 5.2.6
MySQL Version - 5.0.67-community
Server API Version - apache2handler
OS Version - WINNT