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
What is input sanitization in php?
Explain mysql_error().
How to join multiple strings into a single string?
Is php dead 2019?
What is user defined function in php?
Is php better than java?
> symbol is used to redirect the output of a command. State Whether True or False?
What are the benefits of composer?
What is the timeout period on session values?
What is the use of curl()?
What is mean tnq
What are differences between PECL and PEAR?
What is the scope of a variable defined outside a function?
What is variable function php?
Is php an oop?