if (isset($_POST['submit10']) && strlen($_POST['vardas']) < 13) { echo "<script>alert('Nepavyks!');</script>\n"; }