Quantcast
Channel: BTSoru.com - Bilisim ve Yazilim Teknolojileri Soru/Cevap Platformu - latest questions
Viewing all articles
Browse latest Browse all 4270

php veri güncelleme strip_tags nere de hata var?

$
0
0
$bul = mysql_query ("SELECT postid,content FROM `posts` order by postid  DESC LIMIT 0,10 ");
if(mysql_affected_rows()){

while($listeleme =mysql_fetch_array($bul)){

    foreach ($listeleme[postid] as $contentid) {
    foreach ($isteleme[content] as $temizcontent) {
      $temizcontent = strip_tags ($temizcontent);
      $ayarver=mysql_query("SET NAMES UTF8");
      $deistir = mysql_query("update posts set content=$temizcontent  where postid=$contentid");

    }
}

if ($deistir) { echo "başarılı"; } else { echo "başarısız";}

arkadaşlar nerede hata yapiyorum ? son 10 veriyi sql den çekip html kodlarını temizleyip tekrar eklemek istiyorum ancak hata alıyorum


Viewing all articles
Browse latest Browse all 4270

Trending Articles


Mide ağrısı için


Alessandra Torre - Karanlık Yalanlar


Şekilli süslü hazır floodlar


Flatcast Güneş ve Ay Flood Şekilleri


Gone Are the Days (2018) (ENG) (1080p)


Yildiz yükseltme


yc82


!!!!!!!!!! Amın !!!!!!!!!


Celp At Nalı (Sahih Tılsım)


SCCM 2012 Client Installation issue