added sample PHP code