- Goto to app line 334 in form.php
commnet this line:
display_message("<h3>".$normal_messages_ar["insert_record"]."</h3>", "", "", "1");
- Goto to app line 345 in form.php
comment the line: echo $form;
- add this line below:
echo "<h3>Thanks!</h3>";
Richard
- www.uwatau.de -
-----------------------
The bock will look like this:
else{ // no duplication
// insert a new record
insert_record($HTTP_POST_FILES, $HTTP_POST_VARS, $conn, $db_name, $table_name, $table_internal_name);
display_message("<p>".$normal_messages_ar["insert_result"], "", "", "");
display_message($normal_messages_ar["record_inserted"], "", "", "1");
//display_message("<h3>".$normal_messages_ar["insert_record"]."</h3>", "", "", "1");
$form_type = "insert";
$res_details = "";
// re-get the array containg label ant other information about the fields, could be changed in the insert (other choices......)
$fields_labels_ar = build_fields_labels_array($conn, $table_name, $table_internal_name, "1");
// display the form
$form = build_form($action, $fields_labels_ar, $form_type, $res_details, $where_field, $where_value, $conn);
//echo $form;
echo "<h3>Thanks!</h3>";
} // end else
-----------------------