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 / bala
b. session_start();
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not
Explain what are psrs? Choose 1 and briefly describe it?
How many functions are there in php?
What is nginx and what is it used for?
Tell me how to get the value of current session id?
What is composer json?
What is the apache?
Tell me what does the scope of variables means?
How do we get the current session id?
Tell me what is the actually used php version?
Where session is stored?
How to delete file in php?
Differences between get, post and request methods ?
Which is better mysql or sql?
What does it mean when it says the csrf token is invalid?