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 preg_match?
What are the array functions in php?
What is php compared to html?
What is a simple php method to make a cross domain data request?
What is difference between post and put in rest?
what are interfaces and Abstart classes
What is mysqli_real_escape_string?
Code to upload a file in PHP?
What is session php?
What are the advantages of triggers in php?
Why ide is recommended for use while programming with php?
Where to put php files in apache server?
What is abstract class in php?
Can I learn laravel without php?
Tell me will a comparison of an integer 12 and a string "13" work in php?