Possible Duplicate:
using mysql_close()
Are mysql_close and pg_close required ?
In some script there aren't... why ?
What happen if I don't use its ?
解决方案
If you don't call it, the socket connection to the database remains open for ~30 seconds in a wait state.
If you get lots and lots of people and you don't somehow manage to reuse these zombie connections, your database might explode with a too many users error.
So in answer to your question: syntactically not required but it's very poor practice not to include them.