What is the function mysql_pconnect() useful for?



What is the function mysql_pconnect() useful for?..

Answer / Sudhakar Tripathi

The mysql_pconnect() function in PHP establishes a persistent connection to a MySQL database server. Unlike mysql_connect(), which creates and destroys the connection each time it's called, mysql_pconnect() keeps the connection open until it's explicitly closed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What is $_ get?

1 Answers  


What is the use of nl2br() in php?

1 Answers  


What is php and its features?

1 Answers  


Is php used anymore?

1 Answers  


What is urlencode and urldecode in php?

1 Answers  


Why use php artisan serve?

1 Answers  


What does php mean?

1 Answers  


What type of operation is needed when passing values through a form or an url?

1 Answers  


How to use validations in php?(codelgniter)

2 Answers  


How to track no of user logged in?

1 Answers  


What are the features and advantages of object-oriented programming?

5 Answers   HCL,


Can we run php on tomcat server?

1 Answers  


Categories