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

Does php have block scope?

0 Answers  


Tell me how can you pass a variable by reference?

0 Answers  


how retrive the video file in php using video tag

0 Answers  


how to change the div background color on every refresh..guys can u help me out.

3 Answers  


What is $this in php?

0 Answers  


what is the difference between mysql_fetch_array() and mysql_fetch_row()?

17 Answers   Google,


What is cms php?

0 Answers  


What is the use of dual table in mysql?

0 Answers  


Does php need html?

0 Answers  


What is the function to count elements in an array in PHP?

0 Answers  


What is the meaning of ‘escaping to php’?

0 Answers  


How to use validations in php?(codelgniter)

2 Answers  


Categories