Welcome Guest, Not a member yet? Register   Sign In
form_open action URL is wrong
#1

[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






Theme © iAndrew 2016 - Forum software by © MyBB