I am trying to get the date to display correctly in PHPMYAdmin as the correct date but all it shows is 0000-00-00. I know for sure there is a character off and it needs changed to something but I cannot figure it out for the life of me.
Here is the code and can someone show me why it wont work. What is wrong?? In this statement, why would it show the Date as 0000-00-00 instead of an actual date. For example it should read 2019-05-21 for example.
$sql=“UPDATE CreditTracker SET Approve=”$Approve",ClassWkshp=“ClassWkshp”,Sponsor="$Sponsor",Type="$Type",HrsUnits=“HrsUnits”,Date="$Date",$DateApproved WHERE idnum="$idnum"";
Why cant i get my date to show??