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

What is use of count() function in php?

1020


Tell me how to find current date and time?

1029


What is the difference between php and core php?

935


The left association operator % is used in PHP for?

1034


What is die in php?

1011


How can you retrieve a cookie value?

1065


What is mysql_fetch_object?

1027


Php error constants and their descriptions

1157


Tell me what library is used for pdf in php?

997


What are examples of dependent variables?

925


What are the uses of explode() and implode() functions?

1067


How To Get the Uploaded File Information in the Receiving Script?

1018


What are the different ways to login to a remote server? Explain the me, advantages and disadvantages?

1057


What are the popular content management systems (cms) in php?

917


What is the difference between die () and exit () in php?

969