// never print an array straight away // so instead you so use foreach loop to get one by one $ar = array(a,b,c); foreach ($ar as $arr) { echo $arr }