what is "mysql_pconnect", i know mysql_connect but what it
is pconnect is their?

Answers were Sorted based on User's Feedback



what is "mysql_pconnect", i know mysql_connect but what it is pconnect is their?..

Answer / raman

mysql_pconnect means, persistent connection with mysql. It
doesn't break the connection even after closing the page.

Is This Answer Correct ?    7 Yes 1 No

what is "mysql_pconnect", i know mysql_connect but what it is pconnect is their?..

Answer / deepaa.n

mysql_pconnect() opens a persistent mysql connection.
It returns the connection on success or failure. It mostly same as mysql_connect(), but it has 2 major differnts. that are
mysql_pconnect() will try to find a connection that's already open, with the same host, username and password. If one is found, this will be returned instead of opening a new connection
It will not be closed when the execution of the script ends . It will stay open for future use.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More PHP Interview Questions

How can we upload a file in php?

0 Answers  


Write a program to display reverse of any number?

0 Answers  


What is associative array in php?

0 Answers  


How do you find the length of a string in php?

0 Answers  


Which function would you use to determine the length of a string in php?

0 Answers  






Explain the difference between unlink() and unset()?

0 Answers  


how can I use bread crumb in PHP ?

2 Answers  


Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?

0 Answers  


What is the use of isset() in php?

0 Answers  


hi sir am kiran kumar finished my mca 2009 passed out sir .. i have more doubts regarding open source technologies sir if we pass zend exam in php can we get a job opportunity in foreign countries sir and is it good demand for php compared to dot net and java and some other technologies like sap , erp sir bcoz my friends saying they are finished dot net and java courses they telling in php we cannot earn more and we cannot go onsite opportunity even big companies not dealing with php is it right ah sir ? please send ur valuable suggestions to my email sir kiranpulsar2007@gmail.com please send ur phone number also sir thanking u sir

1 Answers  


How can we access the data sent through the url with the get method?

0 Answers  


What is the expansion of LAMP?

0 Answers  


Categories