statement Archive
-
PHP/Perl If trick using ? and :
Most experienced programmers already know this, but this is a quick trick that will save you a few lines of code if you have a really simple if-statement to display one thing or another. This works with both PHP and Perl and will help you cut down some coding time. For this post [...]