• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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




Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.