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
How to get the length of string?
How many php functions are there?
What is the interface in php?
What is the function file_get_contents() usefull for?
What are the benefits of composer?
How is the ternary conditional operator used in php?
What is a php class?
Please explain is it possible to use com component in php?
How to write in a file in php?
Why session timeout is important?
What are the __construct() and __destruct() methods in a php class?
How many escape sequences are recognized in single-quoted strings?
What is the meaning of symbol '$' in jquery?
What php framework does wordpress use?
What are php filters?