leosan Posted July 7, 2011 Report Share Posted July 7, 2011 <form method=post> <input name=n size=20> <input type=submit valve='Press enter'> </form> <?php Print $_POST['n']; ?> ko te vel vajag pierakstit lai kad uzpied tekst nemainitos, bet rakstitos leja, Un vel, ka uztaisit lai ierakstitu tekstu vajdzetu kodu(kods reginere) bet ja nepareiz kods tad error rada. Palidziet kads! Link to comment Share on other sites More sharing options...
DoubleT Posted July 7, 2011 Report Share Posted July 7, 2011 <form action="" method="post"> <input name="n" type="text" size="20"> <input type="submit" value="Press enter"> </form> <?php if(isset($_POST["n"]) && $_POST["n"] != '') { echo $_POST['n']; } ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now