Hello,
I was wondering when creating a PHP page that will execute queries. What are the BEST ways to write the queries and open/close connection that way the queries executes fast and doesn't cause to many locked/sleep queries in the mysql SHOW PROCESS LIST.