I was bored tonight and started watching some David Malan’s CS50 classes again so I figure make a quick post about it. Here is one of his PHP code samples I like. David also make use of short tags if the <? ?> looks a little weird to you. This example is from his week 9 Monday class and feel free to watch his video for a better explanation of PHP then I could provide.