Smarty dynamic error list
- by Brainscrewer
Im new to Smarty in combination with PHP and I really like it.
Unfortunatly im running into a problem while validating fields after a $_POST has been done.
I've made an array called $errors and use that to save error messages in, for example: $errors[] .= "Wrong email";.
My problem is in sending the $errors array over to the template so I can…