• 01-04-2020, 23:10:14
    #1
    <section class="page-section featured-products sl-bundled" style="background-color: #fff;">
    <div class="container">
    <div class="row">
    <div class="col-sm-12">
    <div class="row">
    <div class="col-sm-12">
    <h2 class="section-title section-title-lg section-title-2">
    <span>
    Birlikte verilen ürünler
    </span>
    </h2>
    <div class="carousel-arrow-alt">
    <div class="owl-carousel-2" id="most-viewed-carousel">
    <?php
    $box_style = $this->db->get_where('ui_settings',array('ui_settings_id' => 42))->row()->value;
    $limit = $this->db->get_where('ui_settings',array('ui_settings_id' => 41))->row()->value;
    $product_bundle=$this->crud_model->product_list_set('bundle',$limit);
    //$product_bundle= $this->db->get_where('product', array('is_bundle' => 'yes'))->result_array();
    foreach($product_bundle as $row){
    echo $this->html_model->product_box($row, 'grid', $box_style);
    }
    ?>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </section>

    ÇIKTI



    şöyle çıkarken büyük türkçe karakterler neden sorun veriyor?
  • 01-04-2020, 23:11:11
    #2
    Utf 8 ile boomladınız mı hocam notepad ile.
  • 01-04-2020, 23:12:49
    #3
    gokhan2121 adlı üyeden alıntı: mesajı görüntüle
    <section class="page-section featured-products sl-bundled" style="background-color: #fff;">
    <div class="container">
    <div class="row">
    <div class="col-sm-12">
    <div class="row">
    <div class="col-sm-12">
    <h2 class="section-title section-title-lg section-title-2">
    <span>
    Birlikte verilen ürünler
    </span>
    </h2>
    <div class="carousel-arrow-alt">
    <div class="owl-carousel-2" id="most-viewed-carousel">
    <?php
    $box_style = $this->db->get_where('ui_settings',array('ui_settings_id' => 42))->row()->value;
    $limit = $this->db->get_where('ui_settings',array('ui_settings_id' => 41))->row()->value;
    $product_bundle=$this->crud_model->product_list_set('bundle',$limit);
    //$product_bundle= $this->db->get_where('product', array('is_bundle' => 'yes'))->result_array();
    foreach($product_bundle as $row){
    echo $this->html_model->product_box($row, 'grid', $box_style);
    }
    ?>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </section>

    ÇIKTI



    şöyle çıkarken büyük türkçe karakterler neden sorun veriyor?
    phpden pek anlamam ama bazı yazı tiplerinde özel türkçe karakterlerinde bu durum ortaya çıkıyor,ürünleri Ürünler şeklinde yazarsanız düzelme ihtimali var,tabi konuya hakimim diyemem.
  • 01-04-2020, 23:15:36
    #4
    $db['default'] = array(
        'dsn'    => '',
        'hostname' => 'localhost',
        'username' => 'root',
        'password' => '',
        'database' => 'ticaret',
        'dbdriver' => 'mysqli',
        'dbprefix' => '',
        'pconnect' => FALSE,
        'db_debug' => (ENVIRONMENT !== 'production'),
        'cache_on' => FALSE,
        'cachedir' => '',
        'char_set' => 'utf8',
        'dbcollat' => 'utf8_general_ci',
        'swap_pre' => '',
        'encrypt' => FALSE,
        'compress' => FALSE,
        'stricton' => FALSE,
        'failover' => array(),
        'save_queries' => TRUE
    );
    küçük harf yazıncada aynı sorun oluyor.ama kopyala yapınca düzgün görünüyor. "section-title-lg" bunu silince düzeliyor ama bu sefer diğer başlıklarla aynı boyutta olmuyor