I think something is missing here?
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
Apparent Browser Fail!
Okay,
I'm looking at having a Guest Message that is shown to guest and is personalized via the ACP;
Id like there to be a check box option that asks the admin if they want the guest message to be displayed or not.
But I'm not sure how to do this, I know how to code the IF statement, but id like the values of the check box to be stored in a MySQL database, and the check box to be checked or unchecked accordingly to the users selection, iv never really used any check boxes in my forms before.
Thank's in advance.
Well in the database, if I understand you correctly, would have a value for "showing" or not... boolean or int I guess. 1 for yes 0 for no. Just be able to change this in your current admin panel. If it's a 1 then display it :]
Post up some code, we like to look at pretty code!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks