title: PHP & MYSQL: checking whether certain DB exists in the server, from a php code executing mysql command
body: <p>I want my php code to check whether a certain DB exists, by means of running some sql query andd parsing the result.</p>
  
  <p>What would be a nice way to do it?</p>
  
  <p>Thanks</p>
  
  <p>Gidi</p>