I have a field in a table called personal and the data that it saves is a string of numbers delimited by commas, ex:
10,32,43,55,2,45
At the moment of wanting to make a query to find a specific employee I want to use this function:
foreach ($ids as $id):
$res = mysqli_query($link, "SELECT id FROM projectP WHERE personal LIKE '%$id%'");
$row = mysqli_fetch_assoc($res);
var_dump($row);
endforeach;
But if the employee is 44 and in the string there is a 4 only, tmb finds it and I need you only to find the ones that are 44, any ideas?