title: PostgreSQL, PHP - How to design a database search?
body: <p>I need to design a search form and the code behind it.</p>
  
  <p>I'm not very familiar with searches.</p>
  
  <p>My table have the following aspect:</p>
  
  <pre><code>- Table_ads
  site_name
  ad_type
  uri
  pagetitle
  name_ad
  general_description_ad
  age
  country_ad
  location_ad
  zone_ad
  </code></pre>
  
  <p>Initially my idea was to do a search like google, we have a single text box and the button search, but I think this will be difficult. The other option is to build a search by fields(traditional search)</p>
  
  <p>What do you think about this subject. What type of search should I do?</p>
  
  <p>Best Regards,</p>
  
  <p>PS: Sorry my English.</p>