<?php $site_id['locale'] = 'tr'; $exampleArray = ['us', 'gr']; if (!in_array($site_id['locale'], $exampleArray)) { array_unshift($exampleArray, $site_id['locale']); } echo implode(', ', $exampleArray);
You have javascript disabled. You will not be able to edit any code.