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 you remove whitespace from the beginning and end of a $string variable?

921


What are getters and setters php?

973


What is whitespace in html?

949


In php, how to redirect from one page to another page?

882


How to track no of user logged in?

967


How I can control asset documents without GR/IR?

1580


What is form validation in php?

963


What is a comment in php?

1040


Which will start a session?

961


What is difference between action hook and filter hook?

833


What is php default argument?

954


What is an operator in php?

1003


Can constructor be private in php?

963


Tell me how can we determine whether a variable is set?

870


List some array functions in php?

879