Welcome Guest, Not a member yet? Register   Sign In
Am I doing this wong?
#2

[eluser]CroNiX[/eluser]
Use the form helper, form_open('controller/segment');, or, DON'T use a relative path in your form action (or css asset, or image, or javascript, or.... Relative paths get appended to the end of the current URL, but that's just a regular HTML issue.

Code:
echo form_open('form_do');
or
Code:
<form action="<?php echo site_url('form_do'); ?>" method="post">


Messages In This Thread
Am I doing this wong? - by El Forum - 05-19-2012, 10:48 AM
Am I doing this wong? - by El Forum - 05-19-2012, 11:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB