by Fredrik Hugås | Oct 12, 2012 | Articles, PHP
There is a special if/else functionality available that not many programmers know how to utilize that I now want to share with you. This function is called a Ternary operation. The ternary operation takes 3 arguments, The first which is the conditional expression, the...
by Fredrik Hugås | Aug 17, 2012 | Articles, WordPress
RSS is often used to publish frequently updated works, such as blog entries, news headlines etc. in a standardized format. An RSS document includes full or summarized text, plus metadata such as publishing dates and authorship. A standardized XML file format allows...
by Fredrik Hugås | Sep 21, 2011 | PHP
One thing that can be annoying about PHP is that you have to include the class-files before you can create a class, and if you have alot of classes the list of includes can get quite long. You could create a dedicated include file and throw all the include statements...