Changed DB table name from ORDER(reserved in mysql) to ORDERS.