• 21-03-2014, 16:27:24
    #19
    U_uR adlı üyeden alıntı: mesajı görüntüle
    <?php

    include(&quot;wp-config.php&quot;
    $sorgu=mysql_Query(&quot;select * from wp_posts&quot;
    while ($satir=mysql_fetch_assoc($sorgu)){
    $post=$satir[&quot;post_title&quot;];
    $postid=$satir[&quot;ID&quot;]
    $postyeni=ucfirst($post);
    //$sorgu2=mysql_query(&quot;update wp_posts set post_title='$postyeni' where ID='$postid' &quot;
    echo &quot;$postid - $postyeni<br><br>&quot;;
    }
    echo mysql_error();
    ?>

    hocam bu kodu hiç değişiklik yapmadan bi denermisiniz ne çıktısı verecek
    hata vermedi hocam.
    EmreBulutlar adlı üyeden alıntı: mesajı görüntüle
    bunu bir local ortamında direk phpmyadmin kullanarak dener misin veya php ile dene sana kalmış, çalışması gerek
    update wp_posts set post_title= CONCAT(UPPER(SUBSTRING(post_title, 1, 1)),LOWER(SUBSTRING(post_title, 2)))
    çalıştı fakat 1 satır etkilendi. sonuç ise değişen bir şey yok. teşekkürler hocam bu arada ilgin için
  • 21-03-2014, 17:10:32
    #20
    KaizenGGG adlı üyeden alıntı: mesajı görüntüle
    hata vermedi hocam.

    çalıştı fakat 1 satır etkilendi. sonuç ise değişen bir şey yok. teşekkürler hocam bu arada ilgin için
    o zaman şöyle birşey yap yeni bi php dosyası oluştur tüm tablo yu çek o dosyada daha sonra where şartı ile bu sorguyu döndürürsen sorun çözülür

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 17:10:32 -->-> Daha önceki mesaj 17:08:51 --

    KaizenGGG adlı üyeden alıntı: mesajı görüntüle
    hata vermedi hocam.

    çalıştı fakat 1 satır etkilendi. sonuç ise değişen bir şey yok. teşekkürler hocam bu arada ilgin için
    veya
    update wp_posts set post_title= CONCAT(UPPER(SUBSTRING(post_title, 1, 1)),LOWER(SUBSTRING(post_title, 2))) where post_title IS NOT NULL
    dener misin