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 / p.swamy
session variable answer is:
a. $_SESSION['foo'] = 'bar';
| Is This Answer Correct ? | 31 Yes | 2 No |
Post New Answer View All Answers
How to select a database in php?
What is the default session time in php?
What is varchar mysql?
What is the current stable version of php? What advance thing in php7?
What is full form of php? Who is the father or inventor of php?
Why are sessions used?
explain php variable length argument function.
What is get and post method in php?
How can you increase the maximum execution time of a script in php?
How do you explain independent and dependent variables?
What is difference between action hook and filter hook?
How to execute an sql query?
What is the correct syntax of mail() function in php?
What is whitespace in php?
What language is php written in?