I have no idea how to do a 'comparison' between 2 variables in the example below: **
if ($rows['block'] == $idBlock ) {/*....*/} else {/*....*/}
So long as the id is equal to what is in mysql it will work, but it will have multiple ids separated by commas, eg 'aaa,bbb,ccc,ddd'
and I would like to know if it is possible for 'comparison' to go through all lines of the string in mysql and see if it finds something equal to the individual lock variable (idBlock).