Hi
 
How do I return a string value from SELECT COUNT(*) FROM tbl_name ?
 
e.g. $count = SELECT COUNT(*) FROM tbl_name
 
Also,
 
Lets say I have 100 lines of data from 10 users ... 10 lines each ... how do I select only one line from each user?
 
Do I use the unique statement and does the field have to be indexed? If so, can one index a field which is already created?
 
Thanks, as always, for all help.
 
Darren
 

Reply via email to