Difference between mysql_connect and mysql_pconnect in php?
Answer Posted / md amanullah
mysql_connect opens a normal connections to mysql database.
mysql_pconnect opens a persistant connection i.e. if there
is any connection open in the script it will use that
connection not making a new connection each time. at very
high traffic enviornment mysql_connect provides better
performance.
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
Do while loops php?
What is binary safe string?
What are the data types in php?
How do you remove duplicates from an array?
What are the disadvantages of php?
How to get a total number of elements used in the array?
Explain preg_Match and preg_replace?
What is query string php?
What are global variables in php?
How do you end a session in php?
What does $_server mean?
Is java is better than php?
What are the advantages of indexes?
What does a special set of tags do in php?
What is $_ env in php?