What is server side scripting? How can you define and declare variables in PHP? Write PHP programs to demonstrate concepts of while and do while loops.
How can you define and declare functions? Differentiate global variable from static variable. Write a PHP program to demonstrate the use of global and static variables.
What is a PHP Data Object? How does MySQLi Object Interface work? Write a PHP program to read data elements from a database table and display in a page.
Attempt any Eight questions
[8x5=40]How conversion between arrays and variables is done using extract() and compact() functions?
What is exploding and imploding of strings? Illustrate with an example.
How is class different from interface? Illustrate with an example.
What is a session? How can you handle sessions in PHP?
Define error handlers and error logs with examples.
Write a PHP program to read a file.
Describe the concepts of display_errors, variables_order and request_order in PHP.ini Settings.
Describe the date time functions with examples.
Write a PHP program to demonstrate use of constructor.