SELECT sum(yatirmalar_tutar) as Toplam FROM yatirmalar where users_id=:id and yatirmalar_status=1");

echo $yatirmalarcek['Toplam'];