พี่ๆครับช่วยหน่อยครับจะเพิ่ม second ของโค๊ดนี้ต้องเขียนยังไงหรอครับ [นับเวลาถอยหลัง PHP (ไม่ใช่ js นะครับ PHP) ]
Code (PHP)
<?php
// First include the class file and make a new object
include("countdown.class.php");
$CountDown = new CountDown;
// The next code will set a different format for the countdown.
// You can use the following replacement strings:
// {W} This is the number of weeks
// {Ws} Either an 's' or nothing. Use as {W} week{Ws} in case it's 1 week, and not 1 weeks.
// {D} Number of days
// {Ds} Same as {Ws} but for days
// {H} Number of hours
// {Hs} Same as {Ws} but for hours
// {M} Number of minutes
// {Ms} Same as {Ws} but for minutes
$CountDown->format = "Days: {D}<br />Hours: {H} <br />Min :{M}";
$day = "26"-1;
$out = $CountDown->Give(20,0,0,3,$day,2015);
echo $out."<br />";
?>