andersmoen
04-14-2007, 04:41 PM
Hey!
This is a really embarresing question to ask, since I know lots of PHP. But anyway, how can I do that?
Lets say I have a table called "c", and this is how it looks:
| id | field1 | field2 | field3 |
| 1 | 123 | 456 | 789 |
| 2 | 123 | 456 | 789 |
| 3 | 123 | 456 | 789 |
| 4 | 123 | 456 | 789 |
| 5 | 123 | 456 | 789 |
| 6 | 123 | 456 | 789 |
Now I want to delete the rows where the id's are 1, 4 and 6. I use the select method to select out these fields in a page, where you check the one's you want to delete and then you click submit and then they're deleted.
I think Wordpress has this feature...
If you don't understand, just tell me ;)
I always get so ... excited when I write stuff, though I'm a bad writer, hehe.
This is a really embarresing question to ask, since I know lots of PHP. But anyway, how can I do that?
Lets say I have a table called "c", and this is how it looks:
| id | field1 | field2 | field3 |
| 1 | 123 | 456 | 789 |
| 2 | 123 | 456 | 789 |
| 3 | 123 | 456 | 789 |
| 4 | 123 | 456 | 789 |
| 5 | 123 | 456 | 789 |
| 6 | 123 | 456 | 789 |
Now I want to delete the rows where the id's are 1, 4 and 6. I use the select method to select out these fields in a page, where you check the one's you want to delete and then you click submit and then they're deleted.
I think Wordpress has this feature...
If you don't understand, just tell me ;)
I always get so ... excited when I write stuff, though I'm a bad writer, hehe.