echo $project_id;
            ?>
"><img src="./public_html/img/Dredging/projectImg/dt_1.jpg" alt=""/></a>
<?php 
        }
        ?>
              
                <div class="projectName-overlay"><a href="./project_detail.php?project_id=<?php 
        echo $project_id;
        ?>
"><span><?php 
        echo $project_name;
        ?>
</span></a></div>
<?php 
        $projectSameName = $projectMgr->getProjectWithProjectName($project_name);
        $numberWithSameName = count($projectSameName);
        if ($numberWithSameName > 1) {
            ?>
                    <div class="project-location-overlay">
<?php 
            foreach ($projectSameName as $eachProject) {
                $projectLocation = $eachProject['size'];
                $projectId = $eachProject['project_id'];
                ?>
                          
                            <h4><a href="./project_detail.php?project_id=<?php 
                echo $projectId;
                ?>
"> <?php 
                echo $projectLocation;