yöntemi değiştirdim ama hala aynı sorun var
if(isset($_POST['search_for_article_admincp'])) {
$search = trim($_POST['search']);
$search_for_article_admincp=$db->prepare("SELECT * FROM `articles` WHERE name LIKE :search OR content LIKE :search LIMIT $display,$limit");
$search_for_article_admincp->bindValue("search","%search%",PDO::PARAM_STR);
$search_for_article_admincp->execute(); $list = $search_for_article_admincp->fetchAll(PDO::FETCH_ASSOC);
foreach ($list as $article) {
?>
if($article['status']==1) { echo "Aktif"; }
elseif($article['status']==0) { echo "Pasif"; }
?>
...
if($article['display_h']==1) { echo "Evet"; }
elseif($article['display_h']==0) { echo "Hayır"; }
?>