Toon posts:

Javascript Redirect met PHP

Pagina: 1
Acties:
  • 24 views sinds 30-01-2008

Verwijderd

Topicstarter
Kan je wel zo snel als mogelijk de topic sluiten en ik had niet eens de kans om te replyén.

Maar zo werkt het niet:
PHP:
1
2
3
4
5
6
7
8
if($klant == true) {
  header("Location: klant.php");
  exit;
}
elseif($dealer == true) {
  header("Location: dealer.php");
  exit;
}


Weet iemand hoe het wel moet?

  • Janoz
  • Registratie: Oktober 2000
  • Laatst online: 00:22

Janoz

Moderator Devschuur®

!litemod

Ken Thompson's famous line from V6 UNIX is equaly applicable to this post:
'You are not expected to understand this'


Dit topic is gesloten.