title: How to create multiple folders inside another folder using php?
body: <p>Initially I created a folder whose name is coming from a SQL result which is stored in a variable after creating this folder I want to create two folders inside this folder.So below are the three lines which I have written for creating the folders.</p>
  
  <pre><code>mkdir($r,0777,true);  //Creating the first folder without any error
  mkdir($r/'input',0777,true);  // not able to create the folder inside first folder
  mkdir($r/'output',0777,true);  //not able to create the folder inside first folder
  </code></pre>