Hey
Thanks for the replies but that section of code (although nothing to do with animals I might add!) is from a much larger script and it needs to stay in the current format. My main issue is having to manually replicate the variables, which is why I was wondering if it's possible to use some kind of wild-card feature within PHP.
If something like: "$animal_* = $something_something[$i]['animal_*'];" is possible it would save me hours of work. Perhaps this is not even possible?
So just to reiterate - there could be hundreds of animals and I would have to write hundreds of lines to do what I want, but if there was something like my suggestion that actually worked I could do it all in a few lines. Thoughts?