Redirecting users to a URL if a variable consists of spaces
<p>If the variable below consists of no characters, just any number of spaces, I would like to redirect the user to a URL using <code>header("Location: URL"); exit();</code>.   </p>

<p>How can I do that? </p>

<pre><code>$comment = mysql_real_escape_string($_POST['comment']);
</code></pre>
