2 require_once('includes/utils.php');
3 require_once('includes/fields.php');
5 function confirm_sent_form_data($data, $keys) {?>
6 <form method="post" action="">
7 <table style="width: max-content;"><?php
8 foreach ($keys as $key) {
9 if (!empty($data[$key])) {?>
11 <th><?php esc(key_to_human_text($key));?>:</th>
12 <td><?php esc($data[$key]);?></td>
14 hidden_field($key, $data[$key]);
18 <input type="submit" name="back" value="Back" />
19 <input type="submit" name="confirm" value="Confirm details are correct" />