when we select some checkboxes and we went for next page if
we came back to prevoius page the selcted checkboxe should
be checked
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / lamp
Store the Checkbox values in cookie, you can fetch the
cookie value when u come to this page again
| Is This Answer Correct ? | 2 Yes | 1 No |
What is overloading and overriding in php?
What is c++ polymorphism?
What is the use of die in php?
Why these language is needed?
What is use of in_array() function in php?
What is the difference between characters 34 and x34?
Suppose your Zend engine supports the mode <? ?> Then how can u configure your PHP Zend engine to support <?PHP ?> mode ?
1 Answers Rushmore Consultancy,
How do I get csrf token?
What is MIME?
Can you explain, when to use if-else if-else over switch statements?
Explain object-oriented methodology in php?
Is php secure?