Archive for May, 2008
Saturday, May 17th, 2008
As stated in the previous entry, shortening or simplifying your source code makes it easier and better when you need to find bugs and a good example of this would be :
Example :
if ($Mickey == true) echo 'Welcome to the Mickey Mouse Club House';
elseif ($MainCharacter == false) echo 'Hi Barney!';
Making ...
Posted in Basic Programming, Sample Code | No Comments »
Tuesday, May 13th, 2008
Many people are using PHP for development and most have truly mastered the art of programming the easy way round. Sadly, many older web sites that used these older styles of programming are not only long but reminiscent of reading something similar to alien writing that is long and incomprehensible ...
Posted in Basic Programming, Sample Code | No Comments »
Friday, May 9th, 2008
There used to be an old saying in PHP that a control structure needs a single constant to locate it and a set of brackets to clear it all up. Well, that might all be true but using too many of these curly brackets when it isn't needed at all ...
Posted in Basic Programming, Sample Code | No Comments »