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 / dhir
$_SESSION['foo'] = 'bar';
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
List some features of php that are deprecated in php7?
How to get the directory name out of a file path name?
What is composer used for?
How to create a text file in PHP?
Is array a key php?
Tell us what does $_cookie means?
What is the difference between for and foreach loop in php?
Explain Creating and Naming an Array?
What are the file upload settings in configuration file?
How does php server work?
Are parent constructors called implicitly inside a class constructor?
How to remove leading and trailing spaces from user input values?
Explain briefly about a search-friendly site looks like?
Tell me what are magic methods?
Explain me what is x+ mode in fopen() used for?