title: Php to take values with arrays
body: <p>I have this code: </p>
  
  <pre><code>&lt;?php
  $adm['web'] = "www.tuweb.com";
  $adm['titulo'] = "Mi título web";
  $campos = array('adm[web]','adm[titulo]');
  for ($i=0; $i&lt;count($campos); $i++) {
  ?&gt;
      /* add values in each field in the  value="" */
      &lt;input type="text" name="&lt;?php echo $campos[$i]; ?&gt;" value="&lt;?php echo ${$campos[$i]}; &gt;"/&gt;
  &lt;?php } ?&gt;
  </code></pre>
  
  <p>The problem i have it´s when generate each field , in the value for each field no works value="" for add the value , only this problem </p>