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

I have this code

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

and it supposed to create this code

<form accept-charset="utf-8" method="post" action="">

but it created

<form accept-charset="utf-8" method="post" action="[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??