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

(refactor): using fetch_all_reacords() function + (feature): implemented dynamic currently working on section

This commit is contained in:
2023-11-01 14:27:58 +05:30
parent e9eee6b1b0
commit 5edcf4c562
4 changed files with 32 additions and 15 deletions

View File

@@ -17,7 +17,7 @@
<h6 class="font-bold mb-8">Featured</h6>
<?php
$featured_projects_footer = fetch_featured_projects($conn);
$featured_projects_footer = fetch_all_records($conn, "featured_projects");
if($featured_projects_footer -> num_rows > 0) {
while($featured_footer_item = $featured_projects_footer -> fetch_assoc()) {