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
How to generate a form?
What are the different opening and closing tags available in PHP?
How to know user has read the email-php?
Which Scripting Engine PHP uses?
How to retrieve values out of an array?
What is the difference between for and foreach?
What is htaccess? Why do we use this and where?
What are the php functions?
Tell me how stop the execution of a php scrip?
how to open & closing opening period in fico
What is the difference between include and require?
Why did you choose this particular career path?
What is Type hinting in PHP?
What is the difference between array_merge() and array_merge_recursive() in php?
What is php good for?