Check out example codes for "what is mysql_pconnect". It will help you in understanding the concepts better.

Code Example 1


1. In Mysql_pconnect, "p" stands for persistent connection so it opens the persistent connection.
2. The database connection cannot be closed.
3. It is more useful if your site has more traffic because there is no need to open and close connection frequently and every time when page is loaded.

I hope it will help you.
Stay Home Stay Safe

Learn ReactJs, React Native from