Hi all, I know there are alternate ways to do this, but the database structure is set. Fields are named SPOT1, SPOT2.... SPOT50
I want to loop through them all but I don't know how to do something like this:
$a['SPOT$counter']
See how I'm trying to use the variable in the key? Is that possible? Is there a way this can be done with curly brackets? I've been having to do this instead, but it sucks:
$key = "SPOT$counter";
$a[$key];
and that seems to work. Help!