MySQL stores the date in my database as 'YYYY-MM-DD' The field type for my date is 'CREATED_AT' I only using date and not time I want to change it when I open my html table the date must show like this. dd mmm yyyy (27 Jun 2022)
This is my code for my table
<td><?php echo $checkSqlRow["CREATED_AT"]; ?>
I did search and find this code, but I am not sure where to add it to work.
$timestamp = strtotime($date_from_db);
echo created_at('dd/mmm/YYYY', $timestamp);