Welcome Guest, Not a member yet? Register   Sign In
Trying to understand forms
#1

Hi all,

I feel I am so close to getting my first form to work, I just cannot understand how to process what is setup.  I have the following:

PHP Code:
<?php echo form_open('login/settings'); ?>
        <?php echo form_label('Google Analytics :'); ?>
        <?php echo form_input(array('id' => 'google-analytics''name' => 'google-analytics''class' => 'form-control''value' => $google->setting_value)); ?><br />
        <?php echo form_label('Hotjar Analytics :'); ?>
        <?php echo form_input(array('id' => 'hotjar-analytics''name' => 'hotjar-analytics''class' => 'form-control''value' => $hotjar->setting_value)); ?>
        <br /><?php echo form_submit(array('id' => 'submit''value' => 'Submit''class' => 'btn btn-default8')); ?>
        <?php echo form_close(); ?>

I get no errors and when I hit submit it flashes the screen so I believe it's working but I just cannot figure out how to get it to process what is in this form, I have been looking through the docs and its just not sinking in.

Can anyone help please?

Thanks,
Doomie
Reply


Messages In This Thread
Trying to understand forms - by doomie22 - 03-02-2016, 06:22 PM
RE: Trying to understand forms - by skunkbad - 03-02-2016, 09:32 PM
RE: Trying to understand forms - by doomie22 - 03-03-2016, 05:46 AM
RE: Trying to understand forms - by InsiteFX - 03-03-2016, 06:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB