Can the following array be converted into the string below...
$eventsfilters = array(
'language' => $languagePath,
'page' => 1,
'limit' => 9,
'start_date' => time()
);
into this:
$ajax_filter = "'language': '" . $languagePath . "', 'page': 1, 'limit': 9, 'start_date': " . time();
This will then go into an ajax data filter.