大家好,我的代码有问题...我无法从我的视图中调用函数 form_open('administrator/login') ...这是我的视图
<?php echo form_open('administrator/login'); ?>
<p class="imglogin">Form Login</p>
<div class="control-group">
<label class="control-label" for="inputEmail">Username</label>
<div class="controls">
<input type="text" name="username" />
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputPassword">Password</label>
<div class="controls">
<input type="password" name="password" id="inputPassword" />
</div>
</div>
<div class="control-group">
<div class="controls">
<button type="submit" class="btn">Sign in</button>
</div>
</div>
<?php echo form_close(); ?>