Feeddback form hacked

I’ve been using PHP feedback forms and recently they’re getting hacked and my clients are getting roughly 300 spam a day through the forms.

I need to find a new way of creating a form that cannot be hacked. Any ideas or tutorials?