In my database the date is like this 24 june 2016, 09:17. And there are many data in my db. I am gonna use this code in my web site.
$query = mysql_query("SELECT * FROM siparisler where tarih='$nwdate' ");
echo $numrows = mysql_num_rows($query);
I am checking today's date. But only date not time. However my database has time and date. I want this; If the date of today same with my any dates in my db, show me how many data in my db. For example my new data is like this 3 june 2016 but in my db like this 3 june 2016, 09:17. How can it work.
I want something like this
$query = mysql_query("SELECT * FROM siparisler where explode(",", date[0])='$nwdate' ");