Need help! php / mysql
Posted: Sat Jun 04, 2005 1:33 am
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!
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!