PHP Code:
insert into osc_orders (orders_id, customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, last_modified, date_purchased, orders_status, orders_date_finished, currency, currency_value) values ('2', '1', 'name', '', 'street', 'suburb', 'city', 'postcode', 'state', 'country', 'tele no', 'email', '1', 'name', '', 'street', 'suburb', 'city', 'postcode', 'state', 'country', '1', 'name', '', 'street', 'suburb', 'city', 'postcode', 'state', 'country', '1', 'Cash on Delivery', '', '', '', '', NULL, '2010-06-04 03:35:34', '1', NULL, 'USD', '1.000000');
insert into osc_orders_products (orders_products_id, orders_id, products_id, products_model, products_name, products_price, final_price, products_tax, products_quantity, vendors_id) values ('2', '2', '26', 'MSIMEXP', 'Microsoft IntelliMouse Explorer', '64.9500', '64.9500', '0.0000', '1', '1');
insert into osc_orders_products_attributes (orders_products_attributes_id, orders_id, orders_products_id, products_options, products_options_values, options_values_price, price_prefix) values ('1', '2', '2', 'Model', 'PS/2', '0.0000', '+');
insert into osc_orders_status_history (orders_status_history_id, orders_id, orders_status_id, date_added, customer_notified, comments) values ('2', '2', '1', '2010-06-04 03:35:34', '1', '');
insert into osc_orders_total (orders_total_id, orders_id, title, text, value, class, sort_order) values ('4', '2', 'Sub-Total:', '$64.95', '64.9500', 'ot_subtotal', '1');
insert into osc_orders_total (orders_total_id, orders_id, title, text, value, class, sort_order) values ('5', '2', 'Flat Rate (Best Way):', '$5.00', '5.0000', 'ot_shipping', '2');
insert into osc_orders_total (orders_total_id, orders_id, title, text, value, class, sort_order) values ('6', '2', 'Total:', '<b>$69.95</b>', '69.9500', 'ot_total', '4');