title: Insert a element from php variable in associative array
body: <p>I have a conditional string like this:</p>
  
  <pre><code>echo $cnd = "'use_funds'=&gt;'no'";
  </code></pre>
  
  <p>And my <code>$data</code> array is :</p>
  
  <pre><code>$data = array(
      $cnd,
      'quantity'   =&gt; $_POST['qty_' . $q],
      'veg_name'   =&gt; $_POST['veg_name_' . $q],
      'rate'       =&gt; $_POST['rate_' . $q],
      'ws_price'   =&gt; $_POST['ws_price_' . $q],
      'ret_price'  =&gt; $_POST['ret_price_' . $q],
      'mop'        =&gt; $_POST['mop_' . $q],
      'ret_margin' =&gt; $_POST['ret_margin_' . $q]
  );
  </code></pre>
  
  <p>The above <code>echo $cnd</code> shows <code>'use_funds'=&gt;'no'</code>, but the <code>var_dump($data)</code> shows <code>array
    0 =&gt; string ''use_funds'=&gt;'no'' (length=17)</code> . And since its a string my data is not inserting in my table. How can I make the <code>$cnd</code> to a associative array element instead of string?</p>