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
How long is csrf token?
What are arguments in php?
How to convert one date format into another in php?
What does mvc stand for and what does each component do?
What are php strings?
What is csrf token and why it is required?
How we get ip address of client, previous reference page etc?
What are major variables in research?
How to connect to a url in php?
What's the difference between using mysql_ functions and pdo?
What is php oop?
What is the use of namespace in php?
Write a program in php to reverse a number?
What is the difference between array_merge() and array_merge_recursive() in php?
What type of comments are supported by PHP.