Skip to content

Instantly share code, notes, and snippets.

@benclark
Created June 4, 2013 14:35
Embed
What would you like to do?
<?php
if ($order_id = db_result(db_query("SELECT order_id FROM {fundraiser_webform_order} WHERE sid = %d", $_GET['sid']))) {
$order = uc_order_load($order_id);
$order_total = isset($order->order_total) ? $order->order_total : 0;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment