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 |
How can we convert the time zones using PHP?
Why do we use htaccess and where?
How can I execute a PHP script using command line?
how to display and include the user system date/time in a php program/project
How can we submit a form without a submit buttom?
12 Answers A1 Technology, IBM,
What is the current php version?
What is the difference between explode() and split() functions?
What is the difference between urlencode and urldecode ?
How do you count numbers in php?
How can I find the width and height of an image resource?
2 Answers Rushmore Consultancy,
What are psrs? Choose 1 and briefly describe it?
how to do connectivity of 2 dbs in PHP script?