Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $qrSQL = mysql_query("SELECT * FROM agendamentos ORDER BY datahora DESC");
- while($row = mysql_fetch_assoc($qrSQL)){
- echo 'Data :'.date(ād/m/Yā, strtotime($row['datahora']));
- echo ' - Hora :'.date(āH:iā, strtotime($row['datahora']);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement