I have this script
var futuredate=new cdtime("countdowncontainer", "2016-10-28 00:00:00")
futuredate.displaycountdown("days", formatresults)
var currentyear=new Date().getFullYear()
and I need the date not to be written, but a query based on MySQL data.
That is, have the value of $programar_antes_de['end']
From the following query:
<?php
$programar_antes_de_query = tep_db_query("select * from " . TABLE_GANTS
. " where xxxx and xxxx and xxxx ");
$programar_antes_de = tep_db_fetch_array($programar_antes_de_query);
echo '' . tep_date_short($programar_antes_de['end']) . '';
?>