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
Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?
What are properties in php?
Does php need apache?
How would you determine the size of a file in php?
What is the use of mysql_fetch_assoc in php?
Why does php need server?
Explain difference between urlencode and urldecode?
What is the use of namespace in php?
What is the difference between implode() and explode() in php?
Can you convert php to html?
How is it possible to propagate a session id?
What is the meaning of "enctype= multipart/form-data" ?
Which is better session or cookie?
Write a program in php to reverse a number?
What is the best practice for running mysql queries in php? Consider the risk of sql injection.