Forums
This topic is locked
can i borrow your brains? need archive function
Posted 06 Jul 2002 22:24:18
1
has voted
06 Jul 2002 22:24:18 Emily Holmes posted:
Hi,I'm building an admin area and have no problem with the standard add/update/delete stuff. However, in the press release section I want people to be able to click an "archive" or "restore" button (depends on the item's current status) to make the release either visible or not visible on the site.
It should function exactly like this:
www.smartwebs.com/smartweb/modDemo/index.htm (you might have to click the link at the top of the screen to view the admin section with buttons.)
I have a yes/no archive field in my database and would filter by that to determine what gets displayed.
So how do I make a link that toggles the yes/no back and forth in the database, and displays a different graphic depending upon what the yes/no value is?
I hope someone can help - I really want to get this working!
Thanks.
Edited by - lunaboyd on 06 Jul 2002 22:24:44