Never used that way before, so i'm not sure how to send the login and the user_usr together.
The code i created is working for the site now, but the forum still isn't logged on.
Can you please take a look at it and make some minor changes??
Thanks,
Marc
<form action="index.php?action=login" method=post>
<table width=100%>
<tr>
<td><small>Naam</small></br><input type="text" name="login" $_POST['login'] = isset($_POST['user_usr']) ? $_POST['user_usr'] : ""; ></td>
<td><small><a href="index.php?page=forget_password">Wachtwoord</a></small><br><input type="password" name="pswd" size="10" $_POST['pswd'] = isset($_POST['password']) ? $_POST['password'] : ""; ></td>
</tr>
<tr>
<td><small><a href="index.php?page=register">Registreren</a><small></td >
<td align="right"><button type="submit">Log aan</button></td>
</tr>
<tr>
<td colspan=2><small>{$loginErrortxt}</small></td>
</tr>
</table>
<input type=hidden name="mode" value="login">
</form>