Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How do I run a php file?

974


What is input sanitization in php?

974


Which variable declarations within a class is invalid in php?

980


Is jquery better than javascript?

986


How to take a substring from a given string?

1018


What is the integer?

1083


Are php sessions cookies?

965


my english is not too good then what we apply for a php programer post

2600


How can we define a variable accessible in functions of a php script?

1003


Which method removes the last element from the end of an array?

968


Which function is used to read a file removing the html and php tags in it upwork?

927


What are the different loops in php?

1075


What function should you use to join array elements with a glue string?

980


Tell me what are magic methods?

979


What difference between require() and require_once()?

1096