get method doesn't work properly |
[eluser]mazzy[/eluser]
this is my code in the view: Code: <form action="<?php echo site_url("search/send_mail?uid=$id"); ?>" method="post" accept-charset="utf-8" data-ajax="false"> and this is the function in my controller `search`: Code: function send_mail() I pass the value $id through get in the view but for a strange reason the get in controller give me a false as result. there is maybe a conflict between post and get?
[eluser]CroNiX[/eluser]
Why not just send $id as the 3rd parameter in your form action and then grab it from the uri: ![]() search/send_mail/$id Code: function send_mail() |
Welcome Guest, Not a member yet? Register Sign In |