1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-20 05:49:35 +05:30

(refactor/fixed): updated featured projects fething method and fixed no-scollbar tailwind class missing in production

This commit is contained in:
2024-08-01 23:41:25 +05:30
parent a6fa2a96e7
commit 9d4cbfa040
6 changed files with 34 additions and 55 deletions

View File

@@ -71,6 +71,13 @@ function fetch_quick_action_link($conn, $action_name) {
}
}
//function to fetch featured projects
function fetch_featured_projects($conn) {
$sql = "SELECT * FROM projects WHERE is_featured = 1";
$result = $conn -> query($sql);
return $result;
}
//---functions to fetch search results starts here---
//from projects table
function fetch_search_results_projects($conn, $keyword) {