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
What is use of htmlspecialchars php?
What is the super method?
Can you pass an array into a function?
What is a collection in php?
How to get ip address of a server in php?
Tell me how is it possible to parse a configuration file?
What is active record in php?
What is the use of mvc in php?
What are the advantages of stored procedures?
How can I convert ereg expressions to preg in php?
Write an example to remove html tags from a string in php?
What are traits?
How to remove leading and trailing spaces from user input values in php?
Write a program in php to reverse a number?
What is == and === in php?