I have the problem of some MySQL connections not closing. I was told that this may be due to the PHP code.

Does anyone know what will cause connections to remain open?