From 2a4aea0bc0048baa7bb9c6411281556d7c355193 Mon Sep 17 00:00:00 2001 From: gitcommitcode Date: Sat, 7 Oct 2023 15:07:55 +0530 Subject: [PATCH] bug fixxed --- text_keep/Text_keep.php | 20 +++++++++----------- text_keep/text.css | 8 ++++++-- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/text_keep/Text_keep.php b/text_keep/Text_keep.php index 7bc9843..7bf6f98 100644 --- a/text_keep/Text_keep.php +++ b/text_keep/Text_keep.php @@ -8,9 +8,9 @@ $content = ($_POST['content']); if ($heading && $content) { $text->insert('data', ['acount_id' => $id, 'heading' => $heading, 'content' => $content]); - }elseif (!$heading){ + } elseif (!$heading) { echo "Heading is empty"; - }elseif (!$content){ + } elseif (!$content) { echo "Content is empty"; } } @@ -27,7 +27,7 @@ foreach ($search as $row) { $id = $row['id']; $acount_id = $row['acount_id']; - header('location:http://localhost/googlekeep_php/text_keep/searched.php ?id='.$acount_id.'&search_id='.$id ); + header('location:http://localhost/googlekeep_php/text_keep/searched.php ?id=' . $acount_id . '&search_id=' . $id); } } @@ -91,8 +91,8 @@ ">

OR

-
- +
+
@@ -126,17 +126,16 @@ margin: 0px 5rem 0px; border: 2px solid #fff; border-radius: 1rem; - padding:2rem;" - > + padding:2rem;"> - DELETE + DELETE
- + @@ -145,5 +144,4 @@ - - + \ No newline at end of file diff --git a/text_keep/text.css b/text_keep/text.css index 49dfe0d..6460acf 100644 --- a/text_keep/text.css +++ b/text_keep/text.css @@ -25,11 +25,12 @@ body { #spam { display: block; color: black; - font-size: 23px; + font-size: 30px; } span { color: white; + font-size: 1.5rem; } .abc { @@ -200,6 +201,9 @@ span { left: 0px; top: 10px; } -a{ +#link_tag{ color: red; + position: absolute; + right: 7rem; + font-size: 1.5rem; } \ No newline at end of file