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 to check your php installation?
What is session_register()?
Explain the changes in php versions?
Tell me what is the importance of "action" attribute in a html form?
How can you upload a file using php?
What is use of in_array() function in php?
How do I know my xampp version?
What is the use of php and mysql?
Explain NULL?
How do you identify independent and dependent variables in research?
Are php sessions secure?
What is strstr php?
What is interface? Why it is used?
Write a program to get second highest number in an array using php?
How to turn on the session support in php?