- date: documentation ( source)
<?php
$presets[1] = array(
'filename' => array(
'main' => 'kn{$film_id}.mp4',
'trailer' => 'kn{$film_id}_preview.mp4',
'meta' => '1355871_Kinonation_{$now["YYMMDD"]}_NEW.xlsx',
)
);
$main_tpl = $presets[1]['filename']['main'];
$film_id = 99;
$now["Ymd"] = date("Ymd");
echo $main_tpl;