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 use of count() function in php?
Tell me how to find current date and time?
What is the difference between php and core php?
The left association operator % is used in PHP for?
What is die in php?
How can you retrieve a cookie value?
What is mysql_fetch_object?
Php error constants and their descriptions
Tell me what library is used for pdf in php?
What are examples of dependent variables?
What are the uses of explode() and implode() functions?
How To Get the Uploaded File Information in the Receiving Script?
What are the different ways to login to a remote server? Explain the me, advantages and disadvantages?
What are the popular content management systems (cms) in php?
What is the difference between die () and exit () in php?