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
Tell me will a comparison of an integer 12 and a string "13" work in php?
How do I know my xampp version?
What are the __construct() and __destruct() methods in a php class?
What is php and why it is used?
What is the current stable version of php? What advance thing in php7?
What is php and features of php?
What are the ways to define a constant in php?
Do you know what does mvc stand for and what does each component do?
How should a model be structured in mvc?
Why is php used?
What exactly is validating and sanitizing?
Does empty check for null?
How can I increase my website session?
What is meant by ‘passing the variable by value and reference' in php?
How can image properties be retrieved in php?