when we select some checkboxes and we went for next page if
we came back to prevoius page the selcted checkboxe should
be checked
Answer Posted / blessed
session variable is better than cookies
in the second page each values in $_session array or in
different $_session varibales.
like $_SESSION['chk1']=$_POST['chk1'];
and then if you go to previous page u will get the value
$chk1=$_SESSION['chk1'];
echo "".$chk1;
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
How do you remove whitespace from the beginning and end of a $string variable?
What are getters and setters php?
What is whitespace in html?
In php, how to redirect from one page to another page?
How to track no of user logged in?
How I can control asset documents without GR/IR?
What is form validation in php?
What is a comment in php?
Which will start a session?
What is difference between action hook and filter hook?
What is php default argument?
What is an operator in php?
Can constructor be private in php?
Tell me how can we determine whether a variable is set?
List some array functions in php?