If you're printing an image, PPI and DPI matter equally. PPI is important for setting up the image digitally and DPI is for printing it. If you're using images for the web, you don't need to worry about DPI because it won't apply. PPI doesn't matter for the web either, only the pixel dimensions.