Php Interview Question and Answers

21. Which object is returned by DB::connect()?
  DB::connect() returns an object of type DB_common. This is always a child implementation specific to a database application.
 
Your Name Your Email-ID
Your Answer
22. How would you delete a named element from a database?
  You can delete an element with dba_delete().
 
Your Name Your Email-ID
Your Answer
23. Which function would you use to write a line of data to a file?
  You can write data to a file with the fputs() function.
 
Your Name Your Email-ID
Your Answer
24. How would you determine the size of a file?
  The filesize() function returns a file's size in bytes.
 
Your Name Your Email-ID
Your Answer
12345678910 Page 6 of 10