discountnapoleandynamite
New member
0
0%
8
Months of Service
0%
Hello, I have a sales table in my database with a date record in the gold. I automatically record this date with the timestamp and current time when the order is created. I need to give the customer a deadline to make a payment for the ordered product. I tried the following command but couldn't get it to work (due to my inexperience
I'm looking for support from friends who are knowledgeable on the subject.
I tried the following, but couldn't get it to work (due to my inexperience)
I'm waiting for support from friends who are experienced in this topic.
$kalan_sure = $db->query("SELECT TIMEDIFF(NOW(), date) FROM orders")->fetch(); echo "Remaining Time: ".$kalan_sure;
I tried the following, but couldn't get it to work (due to my inexperience)
$kalan_sure = $db->query("SELECT TIMEDIFF(NOW(), date) FROM orders")->fetch(); echo "Remaining Time: ".$kalan_sure;