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 / p.swamy
session variable answer is:
a. $_SESSION['foo'] = 'bar';
| Is This Answer Correct ? | 31 Yes | 2 No |
Post New Answer View All Answers
Why post method is used in php?
Why is used in php?
Tell me what is the definition of a session?
Does apache use php?
Is php still used?
How check submit button is clicked in php?
Tell me how can we change the maximum size of the files to be uploaded?
How is session id stored in browser?
What is the use of mysql_real_escape_string in php?
What are the advantages and disadvantages of cascade style sheets?
How do you sort an array in php?
Is php faster than javascript?
What are the features and advantages of object-oriented programming in php?
can you give me an example code of calling java script function in php variable using AJAX.or with out ajax??????
How do I install php?