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’s the difference between htmlentities() and htmlspecialchars()?

1149


Is php a strongly typed language?

1058


How to get the length of string?

1083


Does php class need constructor?

1003


Write a program in php to check whether a number is prime or not?

1001


How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?

981


Explain what is the difference between session and cookie?

1114


What is x+ mode in fopen() used for?

1103


Explain me differences between get and post methods?

1057


What is memcache?

1024


What is __ invoke in php?

1069


Which is better php or wordpress?

999


can we swap two different string using php for example:-- before swapping:-- 1 string :-hello friend, 2 string :-my dear, after swapping that strings will be: 1.hello dear, 2.my friend.

3596


Why is php used?

1083


Explain php parameterized functions.

1040