i have this php code for form validation :
if(($_FILES['file']['error'] != 0) || $title == '' || $tags == '') {
wp_redirect(home_url('/') . '?posterror=1');
exit;
}
This form redirect you to a page error if you didin't upload a file,put a title or a tag. From this code i want to change this: $tags == '' to require minimum 3 words = 3 tags.
