Here is the code i have right now. im not sure what im doing wrong. ive tryed a few different things and can not seem to get it working. what i need to do is add a new line to the array at the end of the array.
php adding to post issue
5
Here is the code i have right now. im not sure what im doing wrong. ive tryed a few different things and can not seem to get it working.
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
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
- layouts4you
- phpbbxpert
- theofficialSJ
Next Topics on Trending Feed
-
5