All pastes #428845 Raw Edit

case/switch

public text v1 · immutable
·published 2007-04-07 21:25 UTC
rendered paste body
<?php
	switch($id) {
	case "news" && "":
  include("news.php");
	break;

	case "art":
  include("art.php");
	break;

	case "flash":
  include("flash.php");
	break;

	case "contact":
  include("contact.php");
	break;
	}
?>