title: Is it totally reckless to leave mysql connection open through a page?
body: <p>When querying the db is it plausible to feel extremely paranoid? I go as far as opening and closing mysql connection every time a new query has to be done. I am afraid that (especially with the ajax enabled pages) this would cause great performance downgrading.</p>
  
  <p>Should I continue in this method or at least open and close connections once in everypage (instead of per-query)? (i'm writing in php btw)</p>
  
  <p>thank you.</p>