PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
The code $prices[$package] is looking up the element with the name in $package in the array $prices. So if $package == 'basic' then $prices[$package] == 1500, and if $package == 'professionalLite' then $prices[$package] == 2300, and so on.
Last edited by Christopher on Tue Sep 12, 2006 1:12 am, edited 1 time in total.
Thank you for the replies, I knew it was doing something of that nature...I just wanted to know exactly what it was doing so I wasn't just copying someone's code and not learning actually how it works, just in case run into the same thing later.