How do i place word restriction on html and php [closed]

Simple examle:

 $input = $_POST['field'];

    if(strlen($input)> 140)
    {
    // Error or substr()
    }

Browse More Popular Posts

Leave a Comment