I am making my website about a radio station, and it's currently PHP-based, but I am testing an ASP-based one on my dev machine.
This is the PHP querystring code:
<?
$i=$_GET['DJID'];
switch ($i) {
case 1:
include("dj1.php");
break;
case 2:
include("dj2.php");
break;
case 3:
include("dj3.php");
break;
default:
echo "page not found!!!!";
}
?>
Using that produces:
http://www.localhostradiostation.co.uk/showdj.php?DJID=1
(this is a virtual host mapped via httpd.conf and
however, I've now got Apache as a reverse proxy, so I can map to ASP sites too on my IIS!)
I want to try and replicate this into my other version, which is at
http://www.localhostradiostation2.co.uk (mapped using the httpd.conf and reverse proxy method!)
I would like to know what the ASP equivalent is for this, as I have tried to get querystrings working, but only at the most basic level for ASP - I'm having to learn this so I can ensure I'm competent in both for my website design/management skills!
Please can anyone help me with the ASP code for this one?
Thanks! :)