Tried a number of things to get the PHP example working with no success. Did get it to connect to the database, but it still does not seem to be reading or writing to the database. Also, you have mysql_, not mysqli_ or pdo for the database. mysql_ is kind of old really, and it would be nice if there was a PDO version.
Any suggestions for getting the PHP example working, that would be appreciated.
We will be releasing a new version of the calendar and will include examples with newer libraries. Meanwhile, the PHP application is only an example of how it can be integrated. The Calendar API does not mandate which PHP library you use. It simply needs a JSON of the specified format. You can generate that format using any means.