How to get a dd/mm/yyyy date format from a MySQLi Recordset
I am using an MySQLi recordset and when I try to display the date from a field in the recordset using my previous MySQL format code:
<?php echo(($row_RS_MbrList_Curr['dateofbirth'])?date('d/n/Y',strtotime($row_RS_MbrList_Curr['dateofbirth'])):''); ?>
it will not return anything and the page will not load. How do I get the date our of a MySQLi Recordset into dd/mm/yyyy format please?