[RSS Feed/News] Possible to use formAction() inside a loop?

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
So I've this piece of code in my controller method that handles form submission....
PHP:

Code:
protected function fooSaveProcess(\Asprin\FB\Entity\Foo $foo)
{
    $formData = $this->filter('selections', 'array');
    $input = array();
    
    /*
    count($formData) --> this is printing "2"
    implode(",", $formData) --> this is printing "5,6"
    so these two statements prove that there are two distinct values in the posted array
    */
      
    /* now I'm attempting to loop through the array...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom