3D Texture

I’m trying to do the volume texture example in OpenGL Programming Guide 8th Edition (Chapter 6) using DevIL, but it doesn’t show anything. Has anyone made that program working? I don’t know what’s wrong.It just maps a .dds image on a plane. I’m looking for some simple example on 3D texture that uses shader. Any help will be highly appreciated.