echo spesific title get_the_title

you can use the_title($quiz) instead of get_the_title()

Put this code

foreach($quiz_ids as $quiz_id){
  echo '<th><a href="'.get_permalink($quiz_id).'" target="_blank">
  '.the_title($quiz_id).'</a></th>';
}

Hope this will help you

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)