XenForo
Administrative
- Thread starter
- Admin
- #1
So I've this piece of code in my controller method that handles form submission....
PHP:
Read more
ادامه مطلب...
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
ادامه مطلب...