Instructions
Load up the level editor from the "Little Big Planet" main menu.
Select the triangular tool with fire in the middle from the "Tools" menu's first page.
Click anywhere on the level you are editing to have that section burst into flames. You can even place lava on objects you have already placed in the level.