Update example.php

Missing $errors init and assign in smarty