Give the answer in short 1. How can you retrieve a cookie value? 2. Explain isset(). 3. Who is known as the father of PHP? 4. What is NULL? 5. List the rules for naming a PHP variable? 6. Which function is use to get the length of string? 7. What is the purpose $_REQUEST variable?
[7 marks]Do as Directed 1. The variable name is case-sensitive in PHP. True or False? 2. PHP files have a default file extension of_______ 3. What will be the output of the following PHP code? <?php $n1 = 1; $n2 = 2; Print $n1. “+” . $n2; ?> 4. If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 5. PHP’s numerically indexed array begin with position ___________ 6. _________ function is used to get the value of the previous element in an array? 7. Explain header().
[7 marks]How to Send Mail in PHP? Explain in detail.
[7 marks]Write a short note on php.ini file
[7 marks]Explain in brief how to use hidden fields in PHP form with example?
[7 marks]Explain Session in PHP.
[7 marks]Explain User Defined Function in detail.
[7 marks]What is a cookie? Explain with example how to create and delete cookie in PHP.
[7 marks]Differentiate between require () & require_once()? Write a scenario where we can use include () & include_once () (write example)?
[7 marks]How can you declare the array in PHP? Explain with example.1
[7 marks]With suitable example, explain the use of mysqli_connect, mysqli_error, mysqli_num_rows, and mysql_query functions?
[7 marks]List and explain different type of Operators in PHP.
[7 marks]What are the different control structures in PHP? Explain them with example.
[7 marks]Explain GET () & POST () with suitable Example.
[7 marks]Explain the Following Difference. 1. Static variable & Global variable. 2. Numeric & Associative Array.
[7 marks]How to Upload file in PHP? Explain with Example
[7 marks]