When user uploads content it enters php varable $date into value of one of the colums on a table. How would you make the php variable the current date, time is not needed just date.
I tried to do this as a string but it shows "CURDATE();" instead of the actual current date
$date="CURDATE();";