return to form list

This commit is contained in:
Kar l5
2024-05-01 23:46:19 +05:30
parent c4e6079c76
commit f048b1ff7b

View File

@@ -13,7 +13,7 @@ require_once('.htac_nav.php');
$stmt->bindParam(':id', $_POST['form_id']); $stmt->bindParam(':id', $_POST['form_id']);
$stmt->execute(); $stmt->execute();
echo "Record Updated successfully",$_POST['form_id'], '<br>',$_POST['formname'], '<br>',$_POST['bverticals'], '<br>'; echo '<script> window.location.assign("/admin/add-forms") </script>';
} catch(PDOException $e) { } catch(PDOException $e) {
echo "Error: " . $e->getMessage(); echo "Error: " . $e->getMessage();
} }