Saving checkbox items in a session on click of submit button
My question is that first i need to create the 10 checkboxes which i have already done and then when i set the value of any of the checkboxes as checked, it should be saved in a session after clicking on the submit button.After clicking on the submit button the values of the checkboxes that were checked should remain checked and should not be reset.And then after checking...
User Profile
Collapse
-
-
Hii,
Thanks for ur quick reply. Now my exact question is that first i need to create the 10 checkboxes which i have already done and then when i set the value of any of the checkboxes as checked, it should be saved in a session after clicking on the submit button.After clicking on the submit button the values of the checkboxes that were checked should remain checked and should not be reset.And then after checking the values of checkboxes...Leave a comment:
-
Retaining checkbox state on submit of page
I want to retain the state of checkboxes after the submit button has been clicked.
What it is currently doing is that it is resetting the checkboxes after the submit button is clicked.
My code is given below:-[code=php]
<?php
session_start() ;
?>
<html>
<head>
</head>
<body>
<form name="form1" action="chk10.p hp" method="POST">...
No activity results to display
Show More
Leave a comment: