Is it possible to have the key-value pair linked in both directions?
For example:
$a = array(
'test' => '1',
'othertest' => '2);
echo $a[test] //prints '1'
echo $a[1] //prints 'test'
Failing that, is there a way to treat an associative array like a normal array and access the entries by an index number?
ie.
echo $a[0] //print '1'