How to set the selected option of <select> tag from the PHP

There is a few ways to do this. The easiest way to do this is in fact really simple, you just need to add a keyword “selected” to the option that you want selected.
For example, if You have something like this:

   <option value="1">Apple</option>
   <option value="2">Samsung</option>
   <option value="3">HTC</option>

Continue reading “How to set the selected option of <select> tag from the PHP”

Google’s 13th birthday!

Googles 13th Birthday
Search giant Googlehas entered teens today, the tech behemoth has turned 13. Officially a teenager, Google celebrates its birthday with a doodle that shows the five letters of the company logo wearing party hats placed around a cake with balloons and gifts around.

A click on the doodle takes visitors to a search result page on Google. Larry Page and Sergey Brin started Google Inc in September 1998 with four computers and an investor’s $100,000 bet on their belief that an Internet search engine can change the world. Continue reading “Google’s 13th birthday!”

Increase the Quick Launch bar icon size on Widnows XP

This is a common problem for people with 1920 x 1080 resolution monitors. Quick Launch icon are just too small. You can fix this by right click on an empty space in Taskbar and uncheck “Lock the Taskbar”. Continue reading “Increase the Quick Launch bar icon size on Widnows XP”

Change meta generator tag in Joomla 1.5

There are many solutions that involve  editing the Joomla Core files. This is bad idea, because you will have to do this every time you upgrade Joomla to a new version.  In general changing Joomla core files is not recommended, and you should avoid it as much as possible.

Solution that I find to be much better and cleaner is just to add : Continue reading “Change meta generator tag in Joomla 1.5”

Recent Posts

GiottoPress by Enrique Chavez