server query to eliminate ?id= from a dynamic inclusion
Posted: Fri May 14, 2004 8:34 pm
Hi,
I have recently updated all my dynamic inclusion files to:
I was just curious as to whether it would be possible to eliminate the "band=" i.e bands.php?nirvana instead of bands.php?band=nirvana...
Any help gratefully appreaciated..
I have recently updated all my dynamic inclusion files to:
Code: Select all
<?php
if($_GET['band'])
{
$id = $_GET['band'];
include("bands/" . $id . '.php');
}
else
{
include("bands/band_index.php");
}
?>Any help gratefully appreaciated..