By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,701 Members | 1,782 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,701 IT Pros & Developers. It's quick & easy.

ranking list

P: n/a
Hallo All

I have a dating site with the tablke

clients(clientid, profiletext)
reactions(logid,persid)

Now in the persid are the people reacted to from log id. Nowe i want to make
a query that counts the number of persid, and put them in a top5 list, But
every persid has a number of records. I did something like this

$query = "select id,form.clients.profiletext,persid from reactie,clients
where persid = form.id"

but now i get all the data, it has to be separated into the different
persid's

Irlan

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.