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 / palaniraja.wordpress.com

3.which statement can be used to determine how the optimizer
resolves a query

EXPLAIN

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?

531


What are properties in php?

515


Does php need apache?

500


How would you determine the size of a file in php?

599


What is the use of mysql_fetch_assoc in php?

516






Why does php need server?

524


Explain difference between urlencode and urldecode?

560


What is the use of namespace in php?

555


What is the difference between implode() and explode() in php?

495


Can you convert php to html?

535


How is it possible to propagate a session id?

511


What is the meaning of "enctype= multipart/form-data" ?

531


Which is better session or cookie?

528


Write a program in php to reverse a number?

546


What is the best practice for running mysql queries in php? Consider the risk of sql injection.

558