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 @@ ">