A sample of PHP coding