EllisLab text mark
Advanced Search
     
form_open action URL is wrong
Posted: 09 October 2012 03:12 PM   [ Ignore ]
Avatar
Joined: 2009-02-19
9 posts

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="http://mydomain.com/search/result"

but it created

<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