PugJr Posted June 19, 2009 Share Posted June 19, 2009 What doesn't work: $number = "one"; $type = $array['$number']; What does work: $type = $array['one']; The latter will work and give me what I want. The first just won't understand $number for some reason and of course I don't understand. So I want it so $number will turn into "one". Thanks. Link to comment https://forums.phpfreaks.com/topic/162867-solved-not-understanding-this-array/ Share on other sites More sharing options...
PugJr Posted June 19, 2009 Author Share Posted June 19, 2009 Oops, just figured it. Link to comment https://forums.phpfreaks.com/topic/162867-solved-not-understanding-this-array/#findComment-859387 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.