foreach($errors as $error){ echo $error; }
if($this->isPost()){ $val->setData($_POST); //here some validation rules $errors = $val->getError()->getList(); $this->set('errors', $errors); }
You are allowed to delete your post for 5 minutes after it's posted.
Delete
Are you sure you would like to mark this post as spam?
Mark as Spam
This script will report this post as spam and add a permanent IP ban for this user, type "DESTROY" below to continue.
DESTROY SPAMMER
You must have a user account and be signed to perform this action.
If they put this in their controller: