How to use the variable passed from form_open? |
[eluser]Katsune[/eluser]
Hey guys, View named printdog.php Code: <?php Code: public function deleteRecord($idFromPrintDog){ Can you guys tell me why I'm getting "missing argument and undefind variable"? Am I calling the value from the view correctly? I've been checking the documentation but there's no controller example on in the topic for form helper.
[eluser]Tpojka[/eluser]
Second argument in form_open() function should be an associative array (if needed). Check one more time form helper in user guide. You should be able to solve this concatenating, so instead comma use dot: Code: <?php
[eluser]Katsune[/eluser]
Thank you very much, I tried it earlier too but the page was blank, i thought it was an error,. you're awesome,. |
Welcome Guest, Not a member yet? Register Sign In |