title: PHP mkdir() Function - If Folder Exists
body: <p>I have a PHP Script that creates a folder based on a form. I'm wondering if there is a way to NOt create and replace that folder if it already exists?</p>
  <pre><code>&lt;?php 
  mkdir(&quot;QuickLinks/$_POST[contractno]&quot;);
  ?&gt;
  </code></pre>