I've to develop a html page where when i click one or two checkboxes and click submit, it has to take the values from the checkboxes and search a file for these values and take the whole line where the value is obtained, and store that line in another file.

Can anybody help me in this as i'm a newbie to PHP.