Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include_once "dbconnect.php";
- $today = date("Y-m-d);
- $result = mysql_query("SELECT `id` FROM `programs` WHERE `uploadDate` > '2017-01-23 01:00:00'");
- if (!$result)
- {
- $message = 'Invalid query: ' . mysql_error() . "\n";
- $message .= 'Whole query: ' . $query;
- die($message);
- }
- while($row = mysql_fetch_assoc($result))
- {
- echo $row["id"];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement