Results 1 to 3 of 3

Thread: why my PHP code not work?

Threaded View

  1. #1

    Thread Starter
    Addicted Member thirith's Avatar
    Join Date
    Oct 2004
    Posts
    196

    Resolved why my PHP code not work?

    hi all!

    i just start to learn PHP.
    and i try to get the text from text box by using the code as following:
    but it is not work.
    PHP Code:
    <body>
    <form  name=login  method="post" action="test1.php">
        Account <input name=username >
        <input type="submit" value="Singed In"  id=submit1 name=submit1>
    </form>

    </body>
    </html>
    <?
    echo "$username";
    ?>
    please help me.

    best regards,
    Thirith.
    Last edited by thirith; Jun 30th, 2005 at 03:15 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width