print " odometer_lower_than_previous"; } //"amount_exceeds" if (trim($row["amount_exceeds"]) == "1") { print " amount_exceeds"; } //"quantity_exceeds" if (trim($row["quantity_exceeds"]) == "1") { print " quantity_exceeds"; } //"usage_after_office_hours" if (trim($row["usage_after_office_hours"]) == "1") { print " usage_after_office_hours"; } } /* free result set */ $result->close(); } //test query--> //process data $counter = 0; while (1) { sleep(1); $counter++; //print "counter = " + $counter; $petron_quaker_tool->accelerator_pedal(" petron tool response "); //$petron_quaker_tool->get_my_db(); } ?>