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 / chetana
$_SESSION['FOO']='bar';
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Is php used anymore?
What are php keywords?
Is php better than java?
How many types of functions are there in php?
Does PHP 5 support exceptions? State Whether True or False?
What is a static variable in php?
What are the benefits of using php?
What is echo and print in php?
Which php framework is in demand?
How does php session work?
Do I need apache for php?
What is the apache?
Explain object-oriented methodology in php?
Write a program in php to find the occurrence of a word in a string?
What is the array in php?