Menu
what is the php command to add today’s date into my mysql database?
i try
$updateCurrency = “UPDATE currencyrate SET currencyid=’$currencyid’, currencyname=’$currencyname’, exchangerate=’$exchangerate’, lastupdate=date(‘Y-m-d’) WHERE pkey = “.$pkey;
but it not working ..
the type of date inside my mysql table is DATE not varchar ..