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 echo in html?

890


Which function is used in php to check the data type of any variable?

957


What is php in simple words?

1018


Is it easy to learn php?

961


How can we change the maximum size of the files to be uploaded?

1033


How to get a total number of elements used in the array?

994


Explain what are some new features introduced in php7?

912


Which is variable cost?

963


What is the expansion of LAMP?

1058


Is PHP an open source software?

1061


How to redirect a url from http to https in .htaccess?

985


How to create and destroy cookies in php?

908


How arrays are used in php?

1053


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

974


What is csrf verification?

1070