yaron89
asked on
Checkbox checked value
In my web page I have a form with "remember me" check box.
I would like that it would be checked as a default.
In order for that I need to set the checked value.
<input type="checkbox" name="rme" checked value="??????" />
The PHP code after submit is: if (isset($_POST["remeberMe"] ))...
What is the checked value that I need ?
I would like that it would be checked as a default.
In order for that I need to set the checked value.
<input type="checkbox" name="rme" checked value="??????" />
The PHP code after submit is: if (isset($_POST["remeberMe"]
What is the checked value that I need ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Make sure the name of the checkbox matched the POST variable used.
@yaron, why grade B?
its an answer to your question !!!
its an answer to your question !!!