"; for ($i = 0; $i <$n; $i ++){ $arr=pg_Fetch_array($query,$i); $mia .="