Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is the phpstorm?

0 Answers  


What is difference between core php and framework?

0 Answers  


Can you pass an array into a function?

0 Answers  


Tell me how can we change the maximum size of the files to be uploaded?

0 Answers  


What is mysql in php?

0 Answers  


Explain what is the function file_get_contents() usefull for?

0 Answers  


What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?

11 Answers   HCL, Rushmore Consultancy, Thursday Technology,


Which php framework is best for web development?

0 Answers  


Does jwt protect against csrf?

0 Answers  


Can you define an argument as a reference type?

0 Answers  


How can we know that a session is started or not?

8 Answers  


What is cookies? How to create cookies in php?

0 Answers  


Categories