Friday, 17 July 2015

Get the input array variable in Joomla 3+

In Joomla 3+ or Joomla 3.4, To get/filter the INPUT or POST variable whose value is in array, please use the below script to pull the values:

JFactory::getApplication()->input->get('cid', null, 'array');

No comments:

Post a Comment

Please post any queries and comments here.