ClubArkadas adlı üyeden alıntı: mesajı görüntüle
iki mesaj önce verdiğim kodu denediniz mi acaba?
evet hocam denedim. olmadı maalesef (
U_uR adlı üyeden alıntı: mesajı görüntüle
veri tabanına kayıot etmeden ekrana yazdıralım o zaman önce bi bakalım büyütüyo mu diye şu şekilde değiştirin kodu lütfen



<?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;post_id&quot;]
$postyeni=ucfirst($post);
//$sorgu2=mysql_query(&quot;update wp_posts set post_title='$postyeni' where post_id='$postid' &quot;
echo &quot;$postid - $postyeni<br><br>&quot;;
}

?>

Not: Yanlış değişkeni ekrana basmışım şimdi tekrar düzenledim..
hocam post_id yerine ID olacak. en alttaki echo satırını da düzenledim. yine aynı. echo $postid.' - '.$postyeni.'

';