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
Technology problems
Search Results
1. What is difference between MyISAM and InnoDB storage engines in mysql.
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
2. Which function would you use to insert a record into a database?
Correct Answer: A PHP filter is used to validate and filter data coming from insecure sources To test, validate and filter user input or custom data is an important part of any web application The PHP filter extension is designed to make data filtering easier and quicker
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