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 phpstorm?
What is difference between core php and framework?
Can you pass an array into a function?
Tell me how can we change the maximum size of the files to be uploaded?
What is mysql in php?
Explain what is the function file_get_contents() usefull for?
What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?
11 Answers HCL, Rushmore Consultancy, Thursday Technology,
Which php framework is best for web development?
Does jwt protect against csrf?
Can you define an argument as a reference type?
How can we know that a session is started or not?
What is cookies? How to create cookies in php?