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...

Which of the following represents the proper way to set a
session variable?
Answer:
a. $_SESSION['foo'] = 'bar';
b. session_start();
c. session_set_save_handler ('myopen', 'myclose', 'myread',
'mywrite', 'mydelete', 'mygarbage');
d. $foo = $_SESSION['foo'];
2.When administering MySQL, you should make the data
directory accessible via the operating system
3.which statement can be used to determine how the optimizer
resolves a query

Answer Posted / savitha

session variable answer is:

a. $_SESSION['foo'] = 'bar';

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a mysql connection?

912


How do I use isdigit function?

996


What is PHP's configuration file called?

1143


What is var_dump?

966


What is PECL?

1145


Write a hello world program using variable?

896


How to send a cookie to the browser?

977


Tell me how can we pass the variable through the navigation between the pages?

934


What is $_ files in php?

1036


How to register a variable in PHP session?

916


How to create an empty array in php?

1043


What is the difference between abstract class and interface in php?

1040


What is difference between mysql_connect and mysqli_connect?

959


What is session and why do we use it?

1002


What type of errors can be occurred in php?

936