echo "<input type='text' name='vardas' maxlenght='14' /><form action='index.php' method='post'><input type='submit' name='submit10' value='Keisti' /></form>"; if(isset($_POST['submit10'])){ printf("<script>alert('Laisvas!');</script>");}