Synopsis
My last three posts have been about learning PHP, so this month I thought I’d continue on a smaller scale. Given the current situation and the lack of decisions we have about our lives, I thought about the ‘switch’ statement that can be used as a cleaner way of implementing branching when you have many choices.
If you’ve not read my posts on the ‘The first step’ then they are: one , two and three , then they will help, especially part one to have the environment upon which to run the code presented here.
Link
Post link on eLearningWorld: Decisions .