• 01-11-2015, 18:09:09
    #1
    Üyeliği durduruldu
    Merhaba,

    Wordpress üzerinden toplu metin değiştirmeye çalışıyorum ama değiştirmek istediğim metinde ' olduğu için hata alıyorum sanırım


    Kullanmak istediğim kod:
    UPDATE wp_posts SET post_content = REPLACE ( post_content, '<a name='more'></a>', '<!--more-->' );


    Aldığım hata:

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'more'></a>', '<!--more-->' )' at line 1
  • 01-11-2015, 21:49:45
    #2
    Merhaba,
    UPDATE wp_posts SET post_content = REPLACE ( post_content, '<a name=\'more\'></a>', '<!--more-->' );

    Kolaylıklar.

    MaximTsigalko adlı üyeden alıntı: mesajı görüntüle
    Merhaba,

    Wordpress üzerinden toplu metin değiştirmeye çalışıyorum ama değiştirmek istediğim metinde ' olduğu için hata alıyorum sanırım


    Kullanmak istediğim kod:
    UPDATE wp_posts SET post_content = REPLACE ( post_content, '<a name='more'></a>', '<!--more-->' );


    Aldığım hata:

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'more'></a>', '<!--more-->' )' at line 1
  • 01-11-2015, 22:27:32
    #3
    Üyeliği durduruldu
    bluexpres adlı üyeden alıntı: mesajı görüntüle
    Merhaba,
    UPDATE wp_posts SET post_content = REPLACE ( post_content, '<a name=\'more\'></a>', '<!--more-->' );

    Kolaylıklar.

    Çok sağ ol hocam, sorunumu çözdün