Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. $qrSQL = mysql_query("SELECT * FROM agendamentos ORDER BY datahora DESC");
  2. while($row = mysql_fetch_assoc($qrSQL)){
  3.  
  4. echo 'Data :'.date(ā€˜d/m/Yā€™, strtotime($row['datahora']));
  5. echo ' - Hora :'.date(ā€˜H:iā€™, strtotime($row['datahora']);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement