Answer the question
In order to leave comments, you need to log in
Pull date from db table or?
Good afternoon, there is a parser with a closed code, I want to convert the output of its additional field with the release date of the film
. Now it outputs like this on January 25, 2018, “Twentieth Century Fox CIS”
I want to make it output like this on January 25, 2018 through the additional field {date_full }
I can’t figure out what to add so that the data from the additional field that is specified would be pulled, now they are displayed after parsing through premiere_rus,
tell me what to add
//Дата выхода
if($xfieldsdata['premiere_rus']){
$date_full = array(
);
$tpl->set( '{date_full}', date("Y-m", $row['premiere_rus']) );
}else
$tpl->set( '{date_full}', date("Y-m", $row['premiere_rus']) );
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question