PHP Interview Questions and Answers
  • Introduction
  • What is PHP
  • Applications or uses of PHP
  • Difference between echo and print
  • Difference between include include_once require and require_once
  • Difference between GET and POST method
  • What are arrays and how to declare them in PHP
  • What is the difference between sessions and cookies
  • How to set sessions and cookies
  • How to connect to MySQL Database
  • How to connect to database using MYSQLi and PDO
  • How to fetch records from database using mysqli
  • How to fetch records from database using PHP PDO
  • What is the difference between explode and split
  • How to move an image into server folder
  • Different File Operations
  • What are method action and enctype attribute