I recently created a simple Boolean Switch in HYPE that queries a MySQL Database using PHP and AJAX.
You can download the project and view the code from here if it helps you in any way:
Thanks for sharing this great guide! I’ve moved it into its own thread.
Brilliant! Huge thanks!