Jump to content

Displaying the top 4 mysql database's


timmy2

Recommended Posts

You need to be alot clearer in the explination of what you actually want. You also might want to look up the difference between a database (holds tables), a table (holds records), a record (holds fields) and a field (holds data).

 

Once you've got them down, you may need to rephrase your question.

Link to comment
Share on other sites

I don't know how to do this :)

Basicly I want to have 20 groups of 3.

Php or mysql adds all the rows in each group  I define the groups from table's eg.(table1, table2, table3 would be a group) then it checks which groups has the most rows and display's the 4 groups that have the most row's

and I echo something diffrent about each group

 

hope this makes sense ;D

Link to comment
Share on other sites

Ok I'll try again :lol:

I define 20 groups.

In each group there are 3 tables

php or mysql counts all the rows in one group (3 table's)

each group echo's something diffrent

the 4 groups that have the most row's echo the things I've defined.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.