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
Tell me what library is used for pdf in php?
Who is known as the father of php?
Is php better than java?
Tell me what is the use of "ksort" in php?
Explain me is multiple inheritance supported in php?
Is php 5 still supported?
What is php explain how php works?
How do you check if an arraylist is empty?
What is the best way to test the strpos() return value in php?
Explain the difference between $var and $$var?
What is a PHP Filter?
What is null value in php?
How to run a php script?
What is php's mysqli extension?
Does exist in php?