Update sample.php

fixed bug in sample.php - wrong constant used.