[eluser]Bionicjoe[/eluser]
I just got back to my first CI project I started a couple of months ago, and I guess I left myself with an error. When I submit my form it is trying to submit the submit button as a field in the db.
I don't remember having this problem when I left off, but I'm stuck. Just getting back into things and I don't have a great grasp of what's going on just yet. Sorry for such a simple question, but my Google searches haven't yielded any help.
Code:
echo form_open('create');
?>
<table>
<tr><td>Number </td><td><?php echo form_input('ticketnumber');?></td></tr>
<tr><td>Affected Services</td><td><?php echo form_dropdown('servicename', $serviceoptions); ?></td></tr>
<tr><td>Summary </td><td><?php echo form_input('summary');?></td></tr>
<tr><td>Location </td><td><?php echo form_multiselect('sitename', $siteoptions); ?></td></tr>
<tr><td>Start </td><td><?php echo form_input('starttime');?></td></tr>
<tr><td>End </td><td><?php echo form_input('endtime');?></td></tr>
<tr><td> </td><td><?php echo form_submit('submit', 'Submit');?></td></tr>
</table>
<?php
echo form_close();