Jump to content

Enable only one record


cole454

Recommended Posts

I have a "system" setup for posting some feedback questions on an internal website.

I have it setup to read a field "enabled" which has a 1 or 0. 0=disabled, 1=enabled

The script works if I manually change that field, ie it reads the correct question.

But need a way to have the questions listed then the one that needs to be shown on the site selected to be enabled on an admin page.

Something like a list with checkboxes or radio buttons?

How can I have one enabled and make sure the rest are not to prevent multiple questions being enabled?

Link to comment
https://forums.phpfreaks.com/topic/253316-enable-only-one-record/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.