K
K
Konstantin Khairov2017-06-12 21:09:23
MySQL
Konstantin Khairov, 2017-06-12 21:09:23

SELECT returns the filled field empty, what could be the matter?

Hello . That's the problem in the DLE module, an additional column is added to dle_post with a name for example "PoleName" and the problem is this. Fetching in DLE shows that this field is empty, output via print_r($row) . Here's what comes out

[title] =>  Заголовок
    [descr] => Описание темы
    [keywords] => ключевые слова
    [category] => 45,3,9,11,12,18
    [alt_name] => 6286-nametheme
    [comm_num] => 0
    [allow_comm] => 1
    [allow_main] => 1
    [approve] => 1
    [fixed] => 0
    [allow_br] => 0
    [symbol] => 
    [tags] => 
    [metatitle] => 
    [rp] => 0
    [rm] => 0
    [PoleName] =>          // ВОТ ЭТО ПОЛЕ PoleName
    [eid] => 6286
    [news_id] => 6286
    [news_read] => 44
    [allow_rate] => 1
    [rating] => 2

All other data is displayed normally, but it is the PoleName field that shows that it is empty, although in the database I manually even added values ​​​​to this field and zero sense. But I tried to play with other columns in the same line, for example, change the title, everything works, everything changes, but this field still returns empty. What can be wrong? Thanks in advance to everyone for your help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question