Codeigniter - form not rendering on live server?
Posted
by pingu
on Stack Overflow
See other posts from Stack Overflow
or by pingu
Published on 2010-03-17T03:55:49Z
Indexed on
2010/03/17
4:01 UTC
Read the original article
Hit count: 275
hi guys,
I've written a small website with CI, which is all working fine on dev. However, when I copy the files over for live, everything works except for my form which is not being rendered.
I am using <?php echo form_open('home'); ?>
and <?php echo form_close(); ?>
The form fields within the form, which I'm generating as follows are being rendered fine, but there is simply no form around them?!
<?php
$data = array(
'name'=> 'name',
'id'=> 'name',
'class'=>'textfield',
'value' => set_value('name')
);
echo form_input($data);
?>
Any ideas - I've used CI on a few apps, and this is the first time I've come across this issue. I've got all the helpers etc called correctly, as this is working perfectly in the development environment.
© Stack Overflow or respective owner