same object diff colour for diff faces?

Hi folks,
I have a plane subdivided . I want to apply diffrent colour toeach face . How to do that ? I hv seen once a tutorial where every face of a cube had a diff colour and texture, i dont remember how it was done :confused:

Thanx in advance

There is a tutorial here:
http://mediawiki.blender.org/index.php/Tutorials/Multiple_Materials