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 / p.swamy

session variable answer is:

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

Is This Answer Correct ?    31 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to select a database in php?

1134


What is the default session time in php?

1079


What is varchar mysql?

1253


What is the current stable version of php? What advance thing in php7?

1054


What is full form of php? Who is the father or inventor of php?

1053


Why are sessions used?

1008


explain php variable length argument function.

1120


What is get and post method in php?

1062


How can you increase the maximum execution time of a script in php?

990


How do you explain independent and dependent variables?

950


What is difference between action hook and filter hook?

945


How to execute an sql query?

1035


What is the correct syntax of mail() function in php?

1077


What is whitespace in php?

1108


What language is php written in?

1121