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 |
Does php support multithreading?
What are the main error types in php and how do they differ?
How do http requests work?
Is apache needed for php?
What is Type hinting in PHP?
What is needed to be able to use image function?
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?
What is difference between post and put in rest?
How break and continue while loop in php?
What are some new features introduced in php7?
How many different types of messages available in php?
How can I learn php fast?