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