I want to create an array of Values taken from the DB and pass them into a Form. I have a set of functions that calculate and fetch results:
$uid = $current_user->ID;
$user_email = $current_user->user_email;
$oid = $_GET['oid'];
$order_total = walleto_get_total_for_order($oid);
All functions have been tested and work well.
- How do I create an array of the values?
- How to take the values and paste them into a FORM and send ?
------- This is the a request for solution after tests on the question from here - not resolved ----------
Creating an array is quite simple :
Then you don't "paste" the values into a form, you set them as values and they will be sent when the user click on the submit button