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



what are the rules to be followed at the time of declaring a variable?,what is the purpose of var_..

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

what are the rules to be followed at the time of declaring a variable?,what is the purpose of var_..

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

Post New Answer

More PHP Interview Questions

Which is better mysql or sql?

0 Answers  


What the use of var_dump()?

0 Answers  


How to send Email using PHP with MySQL in Linux Server?..

3 Answers  


Define about declare construct?

0 Answers  


Tell me whether it is possible to share a single instance of a memcache between multiple php projects?

0 Answers  






Explain about PHP filter and why it should be used?

0 Answers  


What is the use of $_server["php_self"] variable?

0 Answers  


How i can integrate merchant payment get way in zen cart? in php? plz help me

1 Answers   BA Continnum Solutions,


how can I use bread crumb in PHP ?

2 Answers  


What is the interface in php?

0 Answers  


hi i am complted my b.tech and i want to learn php is php is good for my career and i want to know the salary growth on php any one can tell the answer plz and i am learning php myself it is easy to understand..........

3 Answers  


What is htmlspecialchars?

0 Answers  


Categories