redfoxius
Создатель
- Регистрация
- 26 Янв 2016
- Сообщения
- 35
- Реакции
- 36
Значит ничего из базы не вернуло. Смотрите в этом направлении.только NULL
Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
Значит ничего из базы не вернуло. Смотрите в этом направлении.только NULL
Он есть ( Для просмотра ссылки ВойдиНа нет и суда нет — 339 модуля, видимо, не существует
Переделал код такЗначит ничего из базы не вернуло. Смотрите в этом направлении.
$query = 'SELECT * FROM k7c1b_modules WHERE position = "5channel"';
$result = $db->query($query);
$row = $result->fetch_row();
echo $row;
$result->close();
Arrayarray(18) { [0]=> string(3) "339" [1]=> string(3) "678" [2]=> string(14) "������ 5 �����" [3]=> string(0) "" [4]=> string(0) "" [5]=> string(1) "1" [6]=> string(8) "5channel" [7]=> string(1) "0" [8]=> string(19) "0000-00-00 00:00:00" [9]=> string(19) "2017-02-18 12:42:56" [10]=> string(19) "0000-00-00 00:00:00" [11]=> string(1) "1" [12]=> string(19) "mod_sj_k2_scrollbar" [13]=> string(1) "1" [14]=> string(1) "0" [15]=> string(1330) "{"moduleclass_sfx":"","theme":"vertical","item_link_target":"_self","show_arrows":"1","nb-column1":"1","nb-column2":"1","nb-column3":"1","nb-column4":"1","pane_height":"700","item_width":"240","num_rows":"1","source":"filter","catfilter":"1","category_id":["23"],"getChildren":"1","itemCount":"30","itemsOrdering":"rdate","FeaturedItems":"1","popularityRange":"3","item":"","item_title_display":"1","item_title_max_characs":"0","item_title_ending_char":"","item_desc_display":"1","item_desc_max_characs":"0","item_desc_ending_char":"","item_tags_display":"0","item_readmore_display":"1","item_readmore_text":".","imgcfg_from_k2_image":"0","imgcfg_k2_image_size":"","imgcfg_from_inline_introtext":"0","imgcfg_from_inline_fulltext":"0","imgcfg_from_external":"1","imgcfg_external_url":"images\/k2\/{id}.jpg","imgcfg_order":"k2_image, inline_introtext, inline_fulltext, external","imgcfg_placeholder":"0","imgcfg_placeholder_path":"modules\/mod_sj_k2_scrollbar\/assets\/images\/nophoto.png","imgcfg_function":"resize_stretch","imgcfg_type":"","imgcfg_transparency":"1","imgcfg_width":"600","imgcfg_height":"400","imgcfg_background":"#ffffff","layout":"_:default","include_jquery":"0","pretext":"","posttext":"","owncache":"1","cache_time":"900","module_tag":"div","bootstrap_size":"0","header_tag":"h3","header_class":"","style":"0"}" [16]=> string(1) "0" [17]=> string(1) "*" }