Jump to content

[SOLVED] Auto number results from query


wtfsmd

Recommended Posts

I need a little help figuring out how to display a number on the side of my query results starting with 1 and ending with *, basically showing how many results were found example:

 

1 Apples

2 Oranges

3 Pears

4 Bananas

 

and i don't want it to be the id because when i sort them i don't want it to look like:

 

2 Oranges

1 Apples

4 Bananas

3 Pears

 

but rather:

 

1 oranges

2 Apples

3 Bananas

4 Pears

 

Basically it will be in no particular order just the number of results.

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.