Hi there,
I was wondering if anyone could give me a hand with converting a php select case statement into an asp one?
I normally use php for coding and have been using this for a while on various websites i've done:
...but not to sure how to convert it into asp?
I was wondering if anyone could give me a hand with converting a php select case statement into an asp one?
I normally use php for coding and have been using this for a while on various websites i've done:
Code:
<?php
switch($page)
{
default:
include("home.php");
break;
case aboutme:
include("aboutme.php");
break;
case portfolio:
include("portfolio.php");
break;
case links:
include("links.php");
break;
case contact:
include("contact.php");
break;
case thankyou:
include("thankyou.php");
break;
}
?>
...but not to sure how to convert it into asp?