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
What is echo in html?
Which function is used in php to check the data type of any variable?
What is php in simple words?
Is it easy to learn php?
How can we change the maximum size of the files to be uploaded?
How to get a total number of elements used in the array?
Explain what are some new features introduced in php7?
Which is variable cost?
What is the expansion of LAMP?
Is PHP an open source software?
How to redirect a url from http to https in .htaccess?
How to create and destroy cookies in php?
How arrays are used in php?
What function should you use to join array elements with a glue string?
What is csrf verification?