I have the following code:
switch ($c)
{
default: $source = $index; $header = $h_index; break;
case "hur": $source = $hur; $header = $h_hur; break;
case "lista": $source = $lista; $header = $h_lista; break;
case "deltaXXXX": $source = $delta; $header = $h_delta; break;
}
What i'm trying to do is to neglect the "XXXX" in the deltaXXXX-case. The XXXX are four numbers I want to use to generate the page showing when delta is called.
i've tried caseing it to "delta*", "delta*" and other combinations, bu I can't get it to work.