title: Delete a file in codeigniter
body: <p>I have a script where when I press delete it deletes information in the database according to the ID passed, but there is a file name in the database as well that is shows where the file was uploaded, how would I pass the filename from the database into codeigniter to see if the file exists and if it does, delete it.</p>
  
  <p>Also there will be multiple rows on occasions with different file names where I would need it to delete all the file it returns.</p>
  
  <p>I am a beginner so you will need to explain things more than usual, I don't even know where to begin for this, I searched around Google and here for about an hour or so with no luck.</p>