how to put a texture into a material

I have a JPEG image witch I have put in as a texture and created a new material. I want to know how to apply the texture into the material.

1.) Select the material.
2.) Drag the texture from the project view to the correct slot in the Material.

You might want to check out the tutorials on the Learn section of the site, because this is one of the most basic questions I have ever seen on this site.