From cf0946439ebeae5810e41b52c588c8b1e47ef4a5 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sun, 12 Dec 2021 16:16:58 -0500 Subject: [PATCH] Broked it now fixed it --- post.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/post.php b/post.php index 8db95573..251d1d41 100644 --- a/post.php +++ b/post.php @@ -934,7 +934,8 @@ if(isset($_POST['add_client'])){ //Add Tags - foreach($_POST['tags'] as intval($tag_id)){ + foreach($_POST['tags'] as $tag_id){ + intval($tag_id); mysqli_query($mysqli,"INSERT INTO client_tags SET client_id = $client_id, tag_id = $tag_id, client_tag_created_at = NOW()"); }