i am writing this short tutorial here because i wanted to share something very important if you are a PHP and mySQL programmer. i have noticed that many of the scripts available in open source do not end the mysql connection they made at the begining of the script.

while php will end the database connection after the script has been excuted, its always good practice to end the connection. so be sure to use the mysql_close($DBASE); at the end of every script.

NOTE: $DBASE: change to whatever you have set in your connection

hope that helps