I'm working on an Ajax live search search facility which uses Mysql Queries. The performance was sluggish, and I found the answer was to close the database connection at the end of the script using the mysql_close() function.
I'm sure it's good practice to close the db connection, but the books I have say it isn't neccessary. What do you think?
I'm sure it's good practice to close the db connection, but the books I have say it isn't neccessary. What do you think?