Corrected errors in expamle.php