How can I retrieve resource_id from the url below?
index.php?option=com_ajax&module=booking_form&method=getBooking&format=json&Itemid=131&date=2016-02-04T00:00:00.000Z&end=1970-01-01T12:00:00.000Z&resource_id=43&resource_id=45&room=41&start=1970-01-01T10:00:00.000Z
I've tried using the following code snippet
$jinput = JFactory::getApplication()->input
$multiple_res = $jinput->getVar('resource_id',array(),'', 'ARRAY');