What is the difference between mysql_connect and
mysql_pconnect ? Which one is good in terms of performance ?
Answer Posted / ranjan goyal
In addition to what Brijendra said, persistanty connections
are limited per server so limited number of people will
have access to the website so infact it will stop high
traffic that implies if we say assuem that our site will
have high traffic then we must not use persistent
connections. Persistent connections should be used only
where we only have limited number of users
| Is This Answer Correct ? | 21 Yes | 3 No |
Post New Answer View All Answers
Differentiate between php5 and php7?
What is a lambda function in php?
Does php have a future?
How to specify argument default values?
How do I escape data before storing it in the database?
What is config file in php?
What is the difference between rest and soap?
Tell me how can we connect to a mysql database from a php script?
What is the empty function?
What are form input html tags?
What is csrf cookie?
How is session id stored in browser?
Write a program to get lcm of two numbers using php?
How to insert a line break in php string?
Do csrf tokens expire?