php adding to post issue
what i need to do is add a new line to the array at the end of the array.
$invoice_number = $_POST['invoice'];
$invoice_shipping_query = tep_db_query("SELECT value FROM orders_total WHERE orders_id = '" . $invoice_number . "' and class = 'ot_shipping'");
$invoice_shipping = tep_db_fetch_array($invoice_shipping_query);
$shipping_cost = $invoice_shipping['value'];
$arrayPost = array_push_assoc($arrayPost, 'shipping', $shipping_cost);
any help would be appriciated
-
Cash Money Hosting -
Thanks
{{ DiscussionBoard.errors[3623306].message }} -
-
layouts4you -
Thanks
{{ DiscussionBoard.errors[3623526].message }} -
-
phpbbxpert -
Thanks
{{ DiscussionBoard.errors[3623867].message }} -
-
theofficialSJ -
Thanks
{{ DiscussionBoard.errors[3625258].message }} -