Every now and again you want to write a simple PHP script, either for use in real cron or maybe for your ajax requests that uses your existing WordPress tables without having to load or even partially load the WordPress core. There are a multitude of ways to achieve this and one method I have [...]
Using the WordPress database class within your own scripts