This foreach only shows the first letter from each thing in the array. var_dump($data) shows that its correct. getBlogg(); var_dump($data); foreach ($data as $d){ echo "Blogg:".$d['blogg_title']."
"; } ?>