From ea3995b192a042b24e2edf4831f3cf7291ca733d Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Fri, 28 Jan 2022 21:40:32 +0000 Subject: [PATCH] Adding edit functionaliy - WIP --- client_services.php | 56 ++++----- service_edit_modal.php | 269 +++++++++++++++++++++++++++++++++++++++-- 2 files changed, 290 insertions(+), 35 deletions(-) diff --git a/client_services.php b/client_services.php index 9aeb6136..6eb1ec6a 100644 --- a/client_services.php +++ b/client_services.php @@ -55,7 +55,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); while($row = mysqli_fetch_array($sql)){ $service_id = $row['service_id']; $service_name = $row['service_name']; - $service_description= $row['service_description']; + $service_description = $row['service_description']; $service_category = $row['service_category']; $service_importance = $row['service_importance']; $service_notes = $row['service_notes']; @@ -73,31 +73,6 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()")); $service_importance_display = "-"; } - ?> - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/service_edit_modal.php b/service_edit_modal.php index 5e6d3dac..29e80173 100644 --- a/service_edit_modal.php +++ b/service_edit_modal.php @@ -1,7 +1,262 @@ -" tabindex="-1"> + +