title: PHP Array Index using variable
body: <p>I'm having a trouble getting my array content when using a declared variable as my array indexes shown below.</p>
  
  <p><img src="https://i.stack.imgur.com/lxWDf.png" /></p>
  
  <pre><code>$indexes = "[0][1][0][1]";
  $code = $params["smv_code"].$indexes;
  </code></pre>
  
  <p>this returns an "Array to string conversion error";</p>
  
  <p>Note that the $indexes is dynamic depends on the "parent_0_1_0_1" params content of the array index.</p>