what is "mysql_pconnect", i know mysql_connect but what it
is pconnect is their?
Answer Posted / 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 View All Answers
What does the array operator '===' means?
Tell me what is mean by an associative array?
What is the use of Php variables?
Which PHP function would you use to send an email?
What are php magic methods?
What is include in php?
What is php sequence?
Tell me which function gives us the number of affected entries by a query?
Why do we show php code in browser?
Define anonymous classes in php7?
How can you create a session in php?
how to use http headers inside php? Write the statement through which it can be added?
How can we enable error reporting in php?
What is global array in php?
What is difference Between PHP 5 and 7?