Ik heb nu dit.
Maar het moet het volgende worden:
Als je inlogt moet je doorgestuurt worden, en als je een foute inlog hebt moet hij de
aangeven.
Iemand die me kan helpen?
[COLOR= #0000BB]<?php
$user[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Admin[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$password[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Admin[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Error, je word nu terug gestuurd.[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$user[/COLOR][COLOR= #007700]&&[/COLOR][COLOR= #0000BB]$password[/COLOR] [COLOR= #007700]==[/COLOR] true[COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Gelukt[/COLOR][COLOR= #007700];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Fout[/COLOR][COLOR= #007700];
}[/COLOR]
?> Maar het moet het volgende worden:
Als je inlogt moet je doorgestuurt worden, en als je een foute inlog hebt moet hij de
$error aangeven.
Iemand die me kan helpen?


