what is "mysql_pconnect", i know mysql_connect but what it
is pconnect is their?
Answers were Sorted based on User's Feedback
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 |
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 |
What is the difference between include and include_once ? Which is one is good in terms of performance ?
Php code to find whether a number armstrong or not?
How to protect special characters in query string?
Is ruby on rails php?
In how many ways we can retrieve the data in the result set of mysql using php?
What is difference between require_once(), require(), include()?
How the web server interprets php and interacts with the client?
The left association operator % is used in PHP for?
What is the Diff. Between echo() and Print() in PHP?
29 Answers CoreNet, Priya, QueenZend, Sky InfoTech, Syntel,
Does php require a web server?
What are the advantages of php?
Is php harder than javascript?