First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
include "db.php";
|
||||
|
||||
$school_num = 19890;
|
||||
$schedule_num = 56017;
|
||||
$menu_item_num = 13961427;
|
||||
|
||||
$cutoff_date = "2022-08-23";
|
||||
|
||||
$query = "SELECT * FROM hotlunch_order_items WHERE school_num = $school_num AND menu_item_num = $menu_item_num AND order_num IN " .
|
||||
"(SELECT record_num FROM hotlunch_order_header WHERE school_num = $school_num AND schedule_num = $schedule_num AND updated_date <= '$cutoff_date')";
|
||||
$results = db_query($query);
|
||||
|
||||
echo(db_num_rows($results)."\n");
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user