Updated and fixed example.php
Updated README file

See #48