How to determine if a radio box is selected
Need to read a value from the background database, the value to determine whether the foreground screen radio box is selected, how should I write? I can't use it on the Internet.
Find a sample code
>
It is wrong to seek positive solutions.
------Solution--------------------
Checked= "Checked"
------Solution--------------------
>
------Solution--------------------
There's nothing wrong with that.
You lose your $open to see if it's 1.
------Solution--------------------
References:
There's nothing wrong with that.
You lose your $open to see if it's 1.
It is still possible to say upstairs, first confirm whether $open is 1. It is not a problem to say what you have written.
Do not know whether your HTML and PHP is separate, if it is separate, you can in the PHP program to determine the declaration of variable reception, in the page call variables. If it is not separate, then continue to use your method.