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 do you check if a variable has not been set in php?
Which function would you use to merge two arrays in php?
What is use of mysqli_query in php?
Which is the correct way to check if a session has already been started ?
How send email in php?
What is meant by public, private, protected, static and final scopes?
What is a controller in programming?
am from coimbatore.am learning php&mysql. what will be the approx salary for me if i get a job in coimbatore.
Why do we use interface in php?
Tell me what is the main difference between php 4 and php 5?
Is php used anymore?
How do you check if a variable has been set in php?
Name and explain five of the PHP error constants?
How would you open a directory for reading in php?
What is the main difference between asp net and php?