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 do you format and output a number with leading zero's?
What is the delimiter syntax is PHP's default delimiter syntax
What is echo in html?
What is variable declaration?
What is phpsessid?
What is difference between sql and php?
Which is not a file-related function in php?
What is default session time and path in PHP. How to change it?
How do i explode this string '||25||34||73||94||116||128' i need to have a array like this array ( 0 => '25', 1 => '34', 2 => '73', 3 => '94', 4 => '116', 5 => '128' ) explode("||", $array); didnt work for me i get this array array ( 0 => '', 1 => '25', 2 => '34', 3 => '73', 4 => '94', 5 => '116', 6 => '128', )
What are the core OOP’s concepts?
What is the meaning of curl , which is used while connecting with pay pal? and how it works?
How check variable is set or not in php?