1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-19 21:43:06 +05:30

(feat): implemented basic search result fetching ajax logic

This commit is contained in:
2023-11-11 20:49:36 +05:30
parent 3162654d1d
commit 039c33c16f
4 changed files with 71 additions and 31 deletions

View File

@@ -0,0 +1,11 @@
<?php
require 'connection.php';
require 'query_functions.php';
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (isset($_POST['keyword'])) {
$keyword = $_POST['keyword'];
echo json_encode(array("keyword-recived" => $keyword));
}
}
?>