greggustin Posted November 11, 2006 Share Posted November 11, 2006 I have a form on my html page for new members to sign upall is wellif lucky, some day might get 100 per daydo I need "close funtion" at end of php posting page?(it works now without it - but only 1 few per day) Quote Link to comment https://forums.phpfreaks.com/topic/26913-mysql-close-function/ Share on other sites More sharing options...
wildteen88 Posted November 11, 2006 Share Posted November 11, 2006 You should use mysql_close() when you use a persistent connection when connecting to the MySQL server. You make a persistent connection using the mysql_pconnect() function. However if you used mysql_connect to connect to your MySQL database then you don't need to use mysql_close to close the connection as it will close the connection automatically when PHP finishes parsing the script. Quote Link to comment https://forums.phpfreaks.com/topic/26913-mysql-close-function/#findComment-123088 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.