Run-MySQLQueryI’ve found this great function written by Thomas Maurer on his blog. It’s really usefull to automate MySQL queries.