Kawoes Posted October 18, 2010 Share Posted October 18, 2010 this insert workd 100% $sql_data_array2 = array('orders_id' => tep_db_prepare_input($oID), 'vendors_id' => tep_db_prepare_input($product['vendors_id'])); tep_db_perform(TABLE_ORDERS_SHIPPING, $sql_data_array2); $new_product_id = tep_db_insert_id(); the problem is it inserts this every time you add a product. I need to expand a check to see if the field was created already or not... if so skip if not run the above. Does this make sense? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.