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
In php how can you jump in to and out of "php mode"?
Tell me how can we check the value of a given variable is alphanumeric?
I need to know about the courses which are useful in corporate companies.. especially php/mySQL, Java/j2ee, .NET.. also tell if any other courses are valuable
How to pass variables by references?
How to create a session? How to set a value in session? How to remove data from a session?
Which is used to maintain the value of a variable over different pages?
How to create a table to store files?
Can I learn laravel without php?
Explain how to run the interactive php shell from the command line interface?
What are PHP Magic Methods/Functions. List them.
Define metaphone()?
What are the advantages of triggers?
What is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
What is orm in php framework?
How do I start a php session?