Maybe the mods have nercolepsy?
Printable View
Maybe the mods have nercolepsy?
Maybe because everybody is replying and it stays at the top, and everyone knows how to use $_POST and comes here to get disappointed more than once...
Code:<?php
echo "register";
$submit = @$_POST['submit'];
$navn = @$_POST['navn'];
$username = @$_POST['username'];
$password = @$_POST['password'];
$repeatpassword = @$_POST['repeatpassword'];
if ($submit)
{
}
?>
<html>
<form action='register.php' method='POST'>
<table>
<tr>
<td>
Dit navn:
</td>
<td>
<input type='text' name='navn'>
</td>
</tr>
<tr>
<td>
Brugernavn:
</td>
<td>
<input type='text' name='username'>
</td>
</tr>
<tr>
<td>
Password:
</td>
<td>
<input type='password' name='password'>
</td>
</tr>
<tr>
<td>
Password:
</td>
<td>
<input type='password' name='repeatpassword'>
</td>
</tr>
</table>
<input type='submit' name='submit' value='Register'>
</form>
</html>
use if ...