Welcome Guest, Not a member yet? Register   Sign In
my Controller is not working
#1

[eluser]nencor[/eluser]
i have some controller like this
Code:
<td colspan="8">&lt;?php
                echo form_open('c_kategorimaterial/addkategorimaterial');
                echo form_submit('tambah','tambah');                
                echo form_close();
                ?&gt;</td>

then i copy paste them, then change into similiar controller that open different form

Code:
<td colspan="7">&lt;?php
                echo form_open('C_material/addmaterial');
                echo form_submit('tambah','tambah');
                echo form_close();
                ?&gt;</td>

why does the second controller is not working ?

edit : it works when i use

Code:
<td colspan="7">
                    <a href='&lt;?php echo base_url(); ?&gt;index.php/c_material/addmaterial'>Tambah</a>
                </td>

why does the button is not working ?



Messages In This Thread
my Controller is not working - by El Forum - 10-08-2012, 12:11 AM
my Controller is not working - by El Forum - 10-19-2012, 12:32 AM
my Controller is not working - by El Forum - 10-19-2012, 03:10 AM
my Controller is not working - by El Forum - 10-19-2012, 04:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB