Назира Дуйшенбиева
Назира Дуйшенбиева

Почему в скрипте при исправлении на русский язык текста он отображается некорректно? PHP

get('dropdown',1); ?>


products) == 0): ?>


totalProductTxt ?>
totalProduct) echo $data->billTotal; ?>

totalProduct) echo $data->cart_show; ?>

products) == 0): ?>


products as $product){
?>

:
:

totalProduct) echo $data->cart_show; ?>


jQuery(document).ready(function(){

jQuery('.lof_vm_top .showmore').click(function(){
if(jQuery(this).hasClass('showmore')){
jQuery('.lof_vm_bottom').slideDown("slow");
jQuery(this).text('');
$(this).removeClass('showmore').addClass('showless');
}else{
jQuery('.lof_vm_bottom').slideUp();
jQuery(this).text('');
$(this).removeClass('showless').addClass('showmore');
}
});
jQuery('.lof_vm_bottom_btn .lofclose').click(function(){
jQuery('.lof_vm_bottom').slideUp();
jQuery('.lof_vm_top .lof_top_2 .showless').text('');
jQuery('.lof_vm_top .lof_top_2 .showless').removeClass('showless').addClass('showmore');
});

jQuery('#main').find('.vm table.cart').addClass("cart-full");

});


get('dropdown',1); ?>


products) == 0): ?>


totalProductTxt ?>
totalProduct) echo $data->billTotal; ?>

totalProduct) echo $data->cart_show; ?>

products) == 0): ?>


products as $product){
?>

:
:

totalProduct) echo $data->cart_show; ?>


jQuery(document).ready(function(){

jQuery('.lof_vm_top .showmore').click(function(){
if(jQuery(this).hasClass('showmore')){
jQuery('.lof_vm_bottom').slideDown("slow");
jQuery(this).text('');
$(this).removeClass('showmore').addClass('showless');
}else{
jQuery('.lof_vm_bottom').slideUp();
jQuery(this).text('');
$(this).removeClass('showless').addClass('showmore');
}
});
jQuery('.lof_vm_bottom_btn .lofclose').click(function(){
jQuery('.lof_vm_bottom').slideUp();
jQuery('.lof_vm_top .lof_top_2 .showless').text('');
jQuery('.lof_vm_top .lof_top_2 .showless').removeClass('showless').addClass('showmore');
});

jQuery('#main').find('.vm table.cart').addClass("cart-full");

});

Анжелика Карягина
Анжелика Карягина

Потому что кодировку поменять надо или указать !!!Если уж юзаешь пыхыпы должен знать о таких мелочах

Похожие вопросы
Ошибка в php скрипте
как на компе тестировать скрипты??? "php". как на компе тестировать скрипты??? "php"
Почему некорректно отображается страница с расширением php
Php скрипт с массивом
некорректный вывод русских букв в php
некорректно отображается текст в браузере
PHP как скриптом создать деталь скрипта?
php Скрипт Как узнать, сколько в тексте строк
почему php отображается как текст
PHP. Кириллица и $var[1], где $var - строка. Русские буквы некорректно отображаются.