9 lines
151 B
PHP
9 lines
151 B
PHP
<?php
|
|
|
|
include "db.php";
|
|
|
|
$query = "UPDATE hotlunch_order_header SET amount_paid = order_total WHERE amount_paid > order_total";
|
|
db_query($query);
|
|
|
|
?>
|