I would like to know how to output the number of rows that have been added in the current day?
I mean, I would like to be able to display the number of entries in a dynamic way?
How my date is formated:
How my date is added to the database:PHP Code:
$timestamp = time()+date("P");
$ordertime = gmdate("YmdHis", $timestamp);
$query = "INSERT INTO orders
orderdate = '$ordertime'