Archive | Programming RSS feed for this section

MySQL : ORDER BY numbers

9. May 2009

12 Comments

ShareIn this article I will show you how to order MySQL records by numeric values (numbers, integers & floats) from the smallest to the largest number or the other way around using a MySQL ORDER BY query.

Continue reading...

jQuery : Auto iFrame Height

20. April 2009

89 Comments

ShareThis article will show you how to automatically adjust the height of an iFrame to the height of the content inside of the iFrame with the use of the jQuery JavaScript library and the jQuery autoHeight plugin.

Continue reading...

Turn off error reporting on your production site

1. October 2008

8 Comments

Turn off error reporting on your production site

ShareOn a production site, you would most likely want to hide all possible PHP errors, warnings and notices from your users for both usability, presentational and security purposes.

Continue reading...

HTML Entities

11. September 2008

1 Comment

HTML Entities

ShareWhen you use HTML special symbols on your website pages, it is better to use the actual unicode HTML entities to ensure (X)HTML validation and proper encoding of the content on your pages to all users.

Continue reading...

Install WordPress via Command Line

2. September 2008

3 Comments

Install WordPress via Command Line

ShareI wrote a useful article/tutorial over at BloggingRocket which guides you through the process of installing WordPress with Shell Access. Please feel free to check it out and comment.

Continue reading...

CakePHP : Change view file from controller

9. August 2008

15 Comments

ShareWith CakePHP, the controller core automatically detects the file name of the view file which needs to be rendered from a controller action. You might want to reuse an existent view for an action or specify a different file name.

Continue reading...

WordPress.com Stats Stopped Working

6. August 2008

4 Comments

ShareI recently integrated a blog and documentation base into the Tribulant.com website and noticed after a few days that my WordPress.com stats stopped working completely after switching the theme.

Continue reading...

PHP: Increase memory limit

5. August 2008

6 Comments

ShareHave you ever received a fatal error on your server similar to the one below when you tried to execute a script? The fatal error shown below, indicates that your PHP configuration has a memory limit set and the script which you are executing is trying to allocate more memory than what is available for [...]

Continue reading...

WordPress : Using jQuery library with your plugin or theme

28. June 2008

10 Comments

ShareWhen you develop a WordPress plugin or theme, you might want to make use of the jQuery library included and distributed with the WordPress package.

Continue reading...

WordPress : Translate a Plugin

25. June 2008

39 Comments

ShareFirst off, you have to know that not all WordPress plugins can be translated. The plugin developer(s) had to take the necessary steps such as using the WordPress __() and _e() functions and load_plugin_textdomain() in order to parse the strings/text of the plugin through the localization system.

Continue reading...