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 / dhir
$_SESSION['foo'] = 'bar';
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is php constructor?
Explain the different types of errors in php.
Define anonymous classes in php7?
What is whitespace in html?
What new features php7 has in store for us?
Explain the casts allowed in PHP?
What is curl php?
How to merge values of two arrays into a single array?
Differences between get, post and request methods ?
Which of the delimiter is ASP style?
What is php compared to html?
Is nan in php?
Explain php split() function.
Why echo is faster than print in php?
Is it possible to destroy a cookie?