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


Please Help Members By Posting Answers For Below Questions

What is use of htmlspecialchars php?

510


What is the super method?

554


Can you pass an array into a function?

556


What is a collection in php?

516


How to get ip address of a server in php?

545






Tell me how is it possible to parse a configuration file?

503


What is active record in php?

479


What is the use of mvc in php?

511


What are the advantages of stored procedures?

544


How can I convert ereg expressions to preg in php?

476


Write an example to remove html tags from a string in php?

519


What are traits?

698


How to remove leading and trailing spaces from user input values in php?

540


Write a program in php to reverse a number?

542


What is == and === in php?

503