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 difference between echo and print_r in php?
How do you measure variables?
Explain me what are the 3 scope levels available in php and how would you define them?
Write a program to get second highest number in an array using php?
For image work which library is used in php?
Is php faster than nodejs?
Can you give example for trait in php?
Which variable declarations within a class is invalid in php?
What is the difference between unset and unlink?
How failures in execution are handled with include() and require() functions?
How do I sort numbers in php?
How can you submit a form without a submit button?
Tell me how to create a text file in php?
Name some of the functions in php.
Is it possible to remove the html tags from data?