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:
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.Code:| 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 |
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.




Reply With Quote


Bookmarks