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
Is php an oop?
What are the features of php 7?
Explain about looping in PHP?
Explain what are some new features introduced in php7?
How to convert a character to an ascii value?
How to test if a variable is an array?
What is the difference between file_get_contents() and file_put_contents() in php?
What is the best php version for wordpress?
What is the scope of a variable defined outside a function?
What is x+ mode in fopen() used for?
What is the difference between query and inquiry?
What is difference between echo and print in php?
How to count a number of words in a string in php?
What is the function file_get_contents() useful for?
What are traits?