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) 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. Link to comment https://forums.phpfreaks.com/topic/26913-mysql-close-function/#findComment-123088 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.