ctype_alpha returns FALSE on line-break
<p>I would like to use ctype_alpha for submitted data through a textarea field, the data should be solely alphabetic with no special characters. Though how can I still use it when <code>FALSE</code> is return on line-break?</p>

<p>This is the HTML code:</p>

<pre><code>&lt;?php
include_once('../../header.php');
include_once('../../model/contribution/create_new_tag_script.php');
?&gt;

&lt;form action="" method="post"&gt;
    &lt;input type="text" name="tag_name" value="" /&gt;
    &lt;textarea maxlength="60" type="text"  name="tag_description" value=""&gt;&lt;/textarea&gt;
    &lt;input type="submit" name="tag_name_submit" value="Submit the New Tag" /&gt;
&lt;/form&gt;


&lt;?php
include_once('../../footer.php');
?&gt;
</code></pre>

<p>This is the PHP code:</p>

<pre><code>&lt;?php
# This script does get included into the document create_new_tag_from.php




    if(isset($_POST['tag_name_submit'])){
    $tag_name_submit = $_POST['tag_name_submit'];
    }

    if(!empty($_POST['tag_name'])){
    $tag_name = strip_tags($_POST['tag_name']);
    }

    if(!empty($_POST['tag_description'])){
    $tag_description = strip_tags($_POST['tag_description']);
    }


if(isset($tag_name_submit)){



    # The Validation of User Entered Data
    # Do validate for solely alphabetic characters with ctype_alpha

    # ctype_alpha($tag_name) &amp;&amp; 
    if(ctype_alpha($tag_description)){
        $tag_name = strtolower($tag_name);
        $tag_description = strtolower($tag_description);


    # The Insertion Into the Database
    $db_connect = mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);



    $sql_query = sprintf(

            "set @newid = convert(

              ( select 
               max(convert( (substring(tag_id, 2)) , unsigned integer))+1
               from tags), char(10) );

                set @newid = if(length(@newid) = 1, concat('0', @newid), @newid);
                set @newid = concat('c', @newid);

                INSERT INTO tags (tag_id, tag_name, tag_description, added_by_user_id,
                                creation_date, last_edited)
                VALUES (@newid, '%s', '%s', 7, now(), '0')",

                mysqli_real_escape_string($db_connect, $tag_name),
                mysqli_real_escape_string($db_connect, $tag_description)


            );

    $sql_query_run = mysqli_multi_query($db_connect, $sql_query);

    # Print Test to See If It Works
    echo "works_ ";
    echo $tag_name . "_ ";
    echo $tag_description . "_ ";


        } else { # End of the Validation
            echo "The entered data must be in alphabetic characters.";
        }

}



?&gt;
</code></pre>
