Monday, February 20, 2012

Simple search in codeigniter

Modified the table with:

Alter table listeditems add
FULLTEXT KEY search
(category,subcategory,title,details,address);

The search results was passed to the query:
$query ="SELECT * FROM listeditems WHERE MATCH (category,subcategory,title,details,address) AGAINST ($searchterm) > 0";

The problem is:

1. Search strings should have a minimum length. This is generally three or four characters, but depends on configuration.

2. If you have fewer than three rows of data, you won’t get any search results back.

How can this problem be solved


Pasing parameter to default controller

To pass parameter to index of this controller?
i.e. http://example.com/param1/param2

in the
public function index()
{
$param1 = $this->uri->segment(1);
$param2 = $this->uri->segment(2);

}

Simple solution
Thank you sir for I got it solved with this simple thing

folder - frontarea
controller - frontpage
function - somefunction

$route['(:any)'] = "frontarea/frontpage/somefunction/$1";

Friday, April 1, 2011

“NEVER TRUST AN INDIAN CRICKETER"

“NEVER TRUST AN INDIAN CRICKETER"

By Anonymous

Come all ye fair young maidens and harken unto me,
Never trust a cricketer, whoever he may be.

Randier than a sailor who's been six months at sea,
Never let a cricketer's hand an inch above your knee.

First let's take the paceman, pure speed from first to last!
My darlings do be careful; his balls are hard and fast.

Then there's the medium pacer, his balls swing either way;
He's really most persistent and can keep it up all day!

And watch for the off-spinner, girls, another awkward chap.
If you leave him half an opening, he will slip one through the gap!

Then there's the wily 'slowy', pure cunning is his strength;
He'll tempt you, then he'll trap you with his very subtle length.

So ladies, do be careful, your mothers would agree.
Never trust a cricketer, whoever he may be.

And what about the opening bat, his struggles never cease!
He has only one ambition, to spend all day at the crease.

The number three is a dasher, he seldom prods and pokes.
When he goes into action, he has a fine array of strokes..

And do beware the slogger, not content with one or two;
When he arrives at the crease then only six will do.

Then there's the real stonewaller, girls, he knows what he's about;
And if you let him settle in, it's hard to get him out!

We come now to the last man, I hope this will not shock,
He doesn't mind if he's last man in, as long as he gets a knock.

So, darlings, do be careful, and be well warned by me:
Never trust a cricketer, whoever he may be.

And watch the wicketkeeper, girls, he's full of flair and dash;
And if you raise your heel, he'll whip them off in a flash.

If you take the field with the captain, you had better know the score;
Or he'll have you in positions that you never knew before!

The cricket commentator is a nasty sort of bloke,
He watches all the action and describes it stroke by stroke.

Even the kindly umpire, who looks friendly as a pup;
You'll quickly find you've had it, when he puts his finger up!

So, darlings, please remember and repeat it after me:
!!!! NEVER TRUST A CRICKETER, WHOEVER HE MAY BE !!!!!

COURTESY OLD BOY SSKZM

Monday, December 13, 2010

Save Time While You Chat and Message


    Save Time While You Chat and Message


    I can save 30 minutes daily by simply using Digsby. Digsby is a multi messaging platform that allows to get connected to most of social networking sites and email clients. You will be logged in to Facebook, Gmail, MSN, Twitter or Yahoo with a mouse click.

    I had to logon to all individual accounts each time. Switching pages and waiting for downloads stole m

    any a minutes. Do not mention the idle time spend in between. With Digsby I feel comfortable and free. No more overlooked mail s or messages.

    The messages and email notification will flick through the screen while you are engaged other tasks. Nee to check it only if you feel so. All accounts can be accessed from the Digsby screen itself.

    All the accounts wil

    l be listed in the screen for easy access. Recent messages will be displayed in a dialog box as I move the mouse over the accounts. Inbox, Compose, Face book wall etc can be accessed from the dialog boxes.

    The tools like chat history, file transfer history are extremely handy. I some times need to review the past personal and business conversations. File transfer history helps to backtrack the article files

    I have uploaded.

    Audio and video chats are also supported. Access to these facilities are simple. The chat window itself provides provision to access these facilities.


Thursday, December 2, 2010

Budding Talents of KPMHSS

These kids from KPMHSS came first in the II Revenue District Science Work Shop Competition help at St. Joseph's HSS Angamali.

FABRIC PAINTING USING VEGETABLES

Anandhu Sudheer
















Chinju Saji - Embroidary


















Arun P S - Pure Construction



















Anjana S - Applied Construction


Evin Paul - Single Project

babies only get one childhood so make it a good one!

My home is filled with toys and has fingerprints on everything... It'snever quiet... It is usually a mess, full of garbage and I'm always tired!

BUT there is Love and Laughter!

In 20 years my children won't remember the house or my tiredness, but WILL remember the time we spent together and the love he felt.

Our babies only get one childhood so make it a good one!

Idea: Sunitha Thomas Facebook


Friday, September 24, 2010

Leaky gut 2

Marketing with Virtual Assistant

Many of the organizations around were borne of simple ideas, which grew out exponentially, to be the success stories that are read about in the media. A marketing assistant makes it possible for an organization to put their efforts and visions in marketing into play. The size of the business is of no consequence, as it is able to cater for the needs of micro, small, medium and even mega business enterprises. This is because it is not a simple task in this fast moving era in the business world, for a single person to have an idea and execute the same idea into a product, sell this product, to predefined clients, who are waiting in line to be served, and still go through the motions of preparing budgets.

Keep in mind that the same guy is supposed to brainstorm and come up with marketing and promotional ideas on how, when, where and through which mode to sell their product, and yet there are still only twenty four hours in a day, which means that all these activities cannot be done to completion in one day. Such are the times that organizations decide to do all their marketing via a virtual assistant, to help in setting the execution and implementation of their ideas in motion.

Working with a virtual assistant to market its products will guarantee an organization on line marketing, in most cases through SEO (Search Engine Optimization), whose task it is to ensure that the website of the organization is visible in the search results whenever would be customers are browsing the web to buy any of the products or services offered. The organization should therefore ensure that careful measures are taken when choosing the right company for which to contract for the service, because when all is said and done, what matters most is whether the organization is able to recoup its capital, and make a handsome profit in the bargain. A virtual assistant service provider should have the ability to identify the search properties of the Internet, which will then make it able to direct self qualified traffic to the organization's site.

Selection should be carried out effectively, by the virtual assistant service provider, when it comes to the organization's search engine optimization goal. This should include strong key words that should be strategically embedded, both on and off site, in order to maximize profits from the traffic that the site will attract.

Marketing with Virtual Assistant

Many of the organizations around were borne of simple ideas, which grew out exponentially, to be the success stories that are read about in the media. A marketing assistant makes it possible for an organization to put their efforts and visions in marketing into play. The size of the business is of no consequence, as it is able to cater for the needs of micro, small, medium and even mega business enterprises. This is because it is not a simple task in this fast moving era in the business world, for a single person to have an idea and execute the same idea into a product, sell this product, to predefined clients, who are waiting in line to be served, and still go through the motions of preparing budgets.

Keep in mind that the same guy is supposed to brainstorm and come up with marketing and promotional ideas on how, when, where and through which mode to sell their product, and yet there are still only twenty four hours in a day, which means that all these activities cannot be done to completion in one day. Such are the times that organizations decide to do all their marketing via a virtual assistant, to help in setting the execution and implementation of their ideas in motion.

Working with a virtual assistant to market its products will guarantee an organization on line marketing, in most cases through SEO (Search Engine Optimization), whose task it is to ensure that the website of the organization is visible in the search results whenever would be customers are browsing the web to buy any of the products or services offered. The organization should therefore ensure that careful measures are taken when choosing the right company for which to contract for the service, because when all is said and done, what matters most is whether the organization is able to recoup its capital, and make a handsome profit in the bargain. A virtual assistant service provider should have the ability to identify the search properties of the Internet, which will then make it able to direct self qualified traffic to the organization's site.

Selection should be carried out effectively, by the virtual assistant service provider, when it comes to the organization's search engine optimization goal. This should include strong key words that should be strategically embedded, both on and off site, in order to maximize profits from the traffic that the site will attract.