05-27-2008, 12:25 AM
|
#6 (permalink)
|
|
The Frequenter
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
|
Do you mean something like:
PHP Code:
$round = 2;
$data = Array(8, 2, 4);
echo(array_key_exists(--$round) ? $data[$round] : 'Invalid round');
Or something like that?
__________________
|
|
|