PHP Basic Interview Questions for freshers with answers



  • 22_What is the difference between the functions unlink and unset
  • 23_What is the difference between ereg_replace() and eregi_replace()
  • 25_What is the difference between PHP4 and PHP5
  • 26_mysql_fetch_array
  • 27_mysql_fetch_object
  • 28_mysql_fetch_row()
  • 29_In how many ways we can retrieve data in the result set of MYSQL using PHP
  • 30_What are encryption functions in PHP
  • 31_What is the functionality of the function htmlentities
  • 32_How to store the uploaded file to the final location
  • 33_What type of headers have to be added in the mail function to attach a file
  • 34_How can we find the number of rows in a result set using php
  • 35_How can we know the number of days between two given dates using php
  • 36_How to open a file