pTutorial

New way to learn Programming

PHP interview Question And Answer


Q:-61. What are the encryption functions in PHP?

crypt() function and md5()function.

Q:-62. Why used namespaces?

Namespace is used to avoid naming clashes across different parts of an application, or between application libraries.

Q:-63. What is Objects?

An object is a specific instance of a class. For more detail visit : PHP 5 tutorial

Q:-64. Does MYSQL supports trigger?

In MYSQL, Triggers gets supported after MYSQL 5.0.2.

Q:-65. What is the difference between mysql_connect and mysql_pconnect?

mysql_connect opens up a database connection every times a page is loaded while mysql_pconnect opens up a connection, and keeps it open across multiple requests. mysql_pconnect uses less resources while mysql_connect more resources than mysql_pconnect.

Q:-66. What is Trigger?

A trigger is a database object which is associated with particular database table. Trigger gets called automatically when particular event (insert, delete, update) Occurs on table.


QUOTES OF THE DAY

Knowledge itself is a power.

LIKE ON FACEBOOK

+1 ON GOOGLE

SHARE ON TWITTER