title: best way to store database details php
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/11697928/mysql-passwords-connecting-to-mysql-with-php">mysql passwords Connecting to MySQL with PHP</a>  </p>
  </blockquote>
  
  
  
  <p>Okay so at the moment every time I need to connect to my mysql database, I have to hardcode all the parameters such as the server, user and pass which means if I ever change database details I'll have to go through dozens of scripts to change this info</p>
  
  <p>I was just wondering if anyone could help me out by explaining how I can make a much more dynamic system to connect to my database</p>
  
  <p>Thanks</p>