Monday, 17 March 2014

php_interview_question

Qsn. What is the use of rand() in php language?
Ans.  rand() function in used to generate random numbers in php.Ii give a result of random no b/w given value. for e.g. If we want to random number between 0 and 10 than we use rand function.It is mostly use for make a capture in signup.

Qsn. What is the use of isset() in php?
Ans.  This function is used to determine if a variable is set and is not NULL.

Qsn.  What is mean by an associative array?
Ans.  Associative arrays are arrays that use string keys is called associative arrays.

Qsn.What is the importance of "method" attribute in a html form?
Ans.  "method" attribute determines how to send the form-data into the server.We use to type of method in php or any webdevelopment language for design a web form. they are GET and POST method.if we dont declare any type of method than it is GET by defult.

Qsn. Define Object-Oriented Methodology
Ans. Object orientation is a software/Web development methodology that is based on the modeling a real world system.An object is the core concept involved in the object orientation. An object is the copy of the real world enity.An object oriented model is a collection of objects and its inter-relationships

No comments: