CodeIgniter Forums
getting disallowed characters err - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: getting disallowed characters err (/thread-57096.html)



getting disallowed characters err - El Forum - 02-14-2013

[eluser]newbie110[/eluser]
I am getting Disallowed Key Characters.error on submitting the form . Here is my code.
Code:
<form class="form-horizontal seperator" post='admin/profile/editprofile' method="post">
                        <?php $attribs=array('class'=>'form-horizontal seperator');

       foreach($user_profile[0] as $key=>$val){
      
      ?>
                            <div class="form-row row-fluid">
                                <div class="span12">
                                    <div class="row-fluid">
                
                                        <label class="form-label span3" for="username">&lt;?php echo ucwords($key)?&gt; :</label>
                                        &lt;input class="span4" name=&lt;?php echo $key;?&gt;id="username" type="text" value="&lt;?php echo $val?&gt;" /&gt;
                                        &lt;?php if ($key=='username'){
           echo '<span class="hint"><a href="#" class="red">Request new ?</a></span>';
          }
        
          ?&gt;      
                                    </div>
                                </div>
                            </div>
                           &lt;?php
        }
      
                           ?&gt;
          <div class="form-row row-fluid">        
                                <div class="span12">
                                    <div class="row-fluid">
                                        <div class="form-actions">
                                        <div class="span3"></div>
                                        <div class="span4 controls">
                                            &lt;input type='submit'name ="mysubmit" value='Save changes' class="btn btn-info marginR10" /&gt;
                                            &lt;input type="reset" class="btn btn-danger" value='Cancel' /&gt;
                                        </div>
                                        </div>
                                    </div>
                                </div>  
                            </div>
      

                      &lt;/form&gt;
this is an edit form whcih shows the values in input boxes. Please solve this problem urgently.