Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <Title>My first PHP program</title>
- <link rel="stylesheet" type="text/css"
- href="new2css.css" />
- </head>
- <body>
- <table border="0" cellpadding="0" width="100%"; class="pagetable">
- <tr><td class="heading">
- <h1 class="heading"><?php
- print("Hello Cruel World<br/><br/>\n")
- ?>
- <?php $id = 1; ?></h1>
- </td></tr>
- <tr><td class="infoform">
- <form method="post" action="registration.php">
- <p>First Name:
- <input type="text" name="firstname" size="20">
- <p>Last Name:
- <input type="text" name="lastname" size="20">
- <p>Rank:
- <input type="text" name="rank" size="10">
- <input type="hidden" name="serial number" value=<?php echo $id; ?>">
- <input type="submit" value="Input">
- </form>
- </td></tr>
- </body>
- </html>
Add Comment
Please, Sign In to add comment