Create example.php

demonstrating functionality