Need help! php / mysql

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tarquinn
Forum Newbie
Posts: 1
Joined: Sat Jun 04, 2005 1:23 am

Need help! php / mysql

Post by tarquinn »

Ok here is my problem:

I have to update info in a table and I need to go through every post. And I want to have a listbox where I can see wich posts I have updated. I have made a temp table with just the id number and every time I update a post, it adds a post with the id number. Thats the easy part.

Now I want to show the id numbers in a list box. BUT, I dont want to list ALL id numbers. Say I have id from 1 to 150 and 175 to 200. Then I want the list box to show them like this (ordered):
1-150
175-200
205-208
214
319-429

Anyone?

If you can dream it, you can do it!
Post Reply