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 is php rest api?
Write logic to print Floyd's triangle in PHP?
What are the steps for the payment gateway processing?
Tell me how is it possible to parse a configuration file?
How to make database connection in php?
what is the scope of php in the future if any other language is developed then may be php is loss ???
When to use self over $this?
What is use of header() function in php?
What is the value for this auto incremented field user_pri_id?
Which php framework is best?
What is php mean?
How to download files from an external server with code in php?
How to check a variable is an array or not in php?
What are php libraries?
Which function Returns the time of sunrise for a given day / location in PHP.