Correct Answer: 1 : InnoDB provides us row level locking while MyISAM provides us table level locking 2 : InnoDB offers foreign key constraints wheres in MyISAM does not have foreign key constraints 3 : InnoDB does not have full text search wheres MyISAM provides us full text search
Correct Answer: The header() function sends a raw HTTP header to a client We can use header() function for redirection of pages It is important to notice that header() must be called before any actual output is seen
3. How we get IP address of client,previous reference page etc?
Correct Answer: The mysqli extension , or as it is sometimes known, the MYSQL improved extension ,was developed to take advantage of new features found in MYSQL systems versions 413 and later The mysqli extension has a number of benfits,the key enhancements over the mysql extension being: => Object-oriented interface => Support for prepared statements => Support for multiple statements => Support for transactions => Enhanced debugging capabilities => Embedded server support
Correct Answer: PHP: Hypertext Preprocessor is open source server-side scripting language that is widely used for web development PHP scripts are executed on the server PHP allows writing dynamically generated web pages efficiently and quickly The syntax is mostly borrowed from C, Java and perl PHP is free to download and use
Correct Answer: PEAR(PHP Extension and Application Repository) is a framework and repository for reusable PHP components PEAR is a code repository containing all kinds of php code snippets and libraries PEAR also offers a command-line interface that can be used to automatically install "packages"
Correct Answer: echo() and print() are language constructs in PHP, both are used to output strings The speed of both statements is almost the same echo() can take multiple expressions whereas print cannot take multiple expressions Print return true or false based on success or failure whereas echo doesn't return true or false