-
Removing Latest Rows From Database
I have an area in my admin cp that lets the admin post an 'alert' to the main page warning users of downtime and such.
If there are no entrys in the 'alerts' table in my database then nothing changes on my main screen, but if there is an alert in the table, it is displayed. I want to add a button in the admin cp that lets the admin delete the only active alert, essentially just removing the one and only entry in a table. My table does not have an index column and i am unsure how to do this otherwise
thank you.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks