load(); require 'core/connection.php'; require 'core/host_config.php'; require 'core/query_functions.php'; $years = create_project_years_array($conn); ?> "> <?php echo fetch_page_title($conn, "Projects");?>

My Projects 🎉

Work, Hobby & Open Source

I'm just obsessed with side projects and open-source stuffs

You can explore some of them below

heroimage

Projects Timeline by Year

HTML; //apply different styling for first iteration if($selectedYear === reset($years)) { echo << HTML; } else { echo << HTML; } echo <<$selectedYear
HTML; //apply different styling for last iteration if ($selectedYear === end($years)) { echo <<
HTML; } else { echo <<
HTML; } echo << HTML; //fetch all projects by year and show it while ($project = $projects -> fetch_assoc()) { echo " ".$project['name'].($project['shortdes'] != "" ? ' - '. $project['shortdes'] : '')." "; } echo <<
HTML; } } ?>