Radio Buttons and Default Values
Posted: Sun Apr 01, 2007 7:28 am
Hey,
I have done a quick search on the internet, and these forums before posting this.
Anyway, here's my question.
In my MySql DB, i have a field called "enabled", this is a INT.
In my script, i have Two Radio Buttons.
For example,
Enable this Function: (Button) Yes (Button) No
So, how would i get one of those Radio Buttons, to be checked, depending on the Value in my Enabled Field/Row? (1 or 0)
Any help would be greatly appreciated!
Thanks
Adrian
I have done a quick search on the internet, and these forums before posting this.
Anyway, here's my question.
In my MySql DB, i have a field called "enabled", this is a INT.
In my script, i have Two Radio Buttons.
For example,
Enable this Function: (Button) Yes (Button) No
So, how would i get one of those Radio Buttons, to be checked, depending on the Value in my Enabled Field/Row? (1 or 0)
Any help would be greatly appreciated!
Thanks
Adrian