Posted by C. on 06/14/06 13:20
Hi,
Let's try this :
<input type='text' name='tt' value=''>
instead of your <input type='text' ...> line.
C.
Carl Anatorian wrote:
> look at this :
> <html>
> <body>
> <?php
> if(isset($_POST['tt'])) {
> echo $_POST['tt']."<br/><br/><br/>";
> }
> ?>
> <form action="test1.php" method="POST" id="form" >
> <input type="text" id="tt" />
> <input type="submit" value="submit" id="submit" />
> </form>
> </body>
> </html>
>
> I want to it to show the text I enter in the input when I press the
> 'submit' botton.But it doesn't work.
[Back to original message]
|