what are the rules to be followed at the time of declaring
a variable?,what is the purpose of var_dump()function in
php,syntax of ternary operator()in php,difference between
drop a table and truncate a table...
Answers were Sorted based on User's Feedback
Answer / naaz
Drop a table:erases the table structure along with any data
in the table fromt the database.Whereas the truncate
command empties all the rows without touching the structure
cheers!!
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / priti raj
Variables should starts from _ or alphabets(a-z).
var_dump() prints the array with the datatype also.
syntex of ternary operator() is like
(condition)?'act1':'act2' ;
Is This Answer Correct ? | 6 Yes | 1 No |
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
Are php short tags acceptable to use?
What is the meaning of symbol '$' in jquery?
Explain what is the difference between mysql_fetch_array() and mysql_fetch_assoc()?
Which is the correct way to check if a session has already been started ?
What types of loops exist in php?
How can I convert ereg expressions to preg in php?
Explain object-oriented methodology in php?
How to protect special characters in query string?
What is 'float' property in css?
Applications written to provide a GUI shell for Unix and Linux are called
Why session is required?