title: PHP letters and spaces only validation
body: <p>I'm validating my contact form using PHP and I've used the following code:</p>
  
  <pre><code>if (ctype_alpha($name) === false) {
              $errors[] = 'Name must only contain letters!';
  }
  </code></pre>
  
  <p>This code is works fine, but it over validates and doesn't allow spaces. I've tried <code>ctype_alpha_s</code> and that comes up with a fatal error.</p>
  
  <p>Any help would be greatly appreciated</p>