Sorry my English a little, My date column is 1375801584 valuable epoch format. I wanna only select now and next time records, i want hide history times record. eg: 19:45 and later.
<?php
$sql = mysql_query("select tarih from table where tarih < '$date' order by tarih ASC");
while($r = mysql_fetch_assoc($sql)){
?>
<tr><td><?php echo date("Y-m-d", $r['tarih']); ?></td>
<td><?php echo date("H:i", $r['tarih']); ?></td></tr>
<?php
}
?>
mysql_*functions are deprecated in PHP 5.5. It is not recommended for writing new code as it will prevent you from upgrading in the future. Instead, use either MySQLi or PDO and be a better PHP Developer.