title: input field data compare to DB and display another values of db
body: <p>I have four column in database .in html has two field if I type  two fields then it compare the DB and if same when display another two column value .how its work in php
  in a input field i type apple and orange its compare Db and display mango grape
  and apple1 and orange1 its display mango1 grape1  how?</p>
  
  <p>ex if my db is 
  apple orange mango grape ,
  apple1 orange1 mango1 grape1
  apple2 orange2 mango2 grape2</p>
  
  <p>i want to compare the input text from the user to db.the input data how to compare DB and display the same row  another values..please help me</p>