Tag: <span>PHP</span>

A while ago when I was learning programming with PHP, I came across a section that really intrigued me. This is where your code tests for a certain condition, if the condition is true, performs a certain task if not true, performs another. You can set your code for example to check the time of day and return an appropriate greeting. One of the ways of doing this is using an if/else statement. If the time is 0800-1159, return “have a good morning”, if it is 1200-1800, return “have a good afternoon”, else return “have a great evening” (and if you plan on learning programming, apart from the syntax, the code does read the way the sentence reads).

I said this was intriguing and the reason is because I had come across this thought process elsewhere. I was lucky to have grown in my first job to a level where I participated deeply in budgeting.

Faith