CodeIgniter Forums

Full Version: form_open action URL is wrong
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]leafc[/eluser]
I have this code

Code:
<?php echo form_open('search/result'); ?>

and it supposed to create this code

Code:
<form accept-charset="utf-8" method="post" action="http://mydomain.com/search/result">

but it created

Code:
<form accept-charset="utf-8" method="post" action="http://mydomain.com/[b]?[/b]search/result">


There is an extra "?" after domain and its messing up form process and end up I'm getting 404 error?
How can I fix this extra "?" to not show up??




Thanks