Apply for Zend Framework Certification Training

Codeigniter





                               Registration form

<?php 
 echo form_open($base_url . 'user/register');
 $username = array('name'  => 'username','id' => 'username',
   'value'  =>set_value('username'));
 $name = array('name'  => 'name','id' => 'name',
   'value' => set_value ('name'));
 $email = array('name'  => 'email','id' => 'email',
    'value'  => set_value('email'));
 $password = array('name'  => 'password','id' => 'password',
    'value'   => '');
 $password_conf = array('name'  => 'password_conf',
   'id' => 'password_conf','value'=>'');
?>
<ul>
  <li>label>Username:</label></li>
     <div>< ?php echo form_input('username');?></div>
  <li>label>Name:</label></li>
    <div><?php echo form_input('name');?></div>
  <li>label>Email:</label></li><div>
    <?php echo form_input('email');?></div>
  <li>label>Password:</label></li><div>
    <?php echo form_password('password');?></div>
  <li>label>Confirm password:</label></li>
    <div><?php echo form_password('password_conf');?></div>
  <li><?php echo form_submit(array('name'=>'register'), 'registrate!');?></li>
  <li><?php echo validation_errors(); ?></li>
<?php echo form_close(); ?>
                                    

< Starting a webserver for zend Validation In Codeigniter >



Ask a question



  • Question:
    {{questionlistdata.blog_question_description}}
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question


Back to Top