I tried to use FIND_IN_SET() with prepared statement, but did work, do not return any result, or even errors
if(escape($_POST['jobCategory']) != "all-categories" && escape($_POST['countryId']) == "all-countries" && escape($_POST['careerLevel']) == "all-career-levels"):
$the_array = [77,181];
$job_id_imploded = implode(',',$the_array);
$query = mysqli_prepare($dbConnection,"SELECT jobs.id, jobs.job_title, jobs.country_id, employers.employer_name FROM jobs LEFT JOIN employers ON jobs.employer_id = employers.employer_id WHERE job_status = ? AND FIND_IN_SET('id',?)");
mysqli_stmt_bind_param($query,'si',$job_status,$job_id_imploded);
endif;
mysqli_stmt_execute($query);
mysqli_stmt_bind_result($query,$job_id,$job_title,$countryId,$employer_name);
while(mysqli_stmt_fetch($query)){
?>
<div class="job-title">
<a href="job_post.php?job_id=<?php echo htmlspecialchars($job_id) ?>" class="job-title-link"><?php echo htmlspecialchars($job_title); ?></a>
</div>
<?php } // End While ?>