<?php $idList = array( 1, 2, 3 ); function sql( $string ){ echo $string; } sql( 'SELECT * FROM employees WHERE FIND_IN_SET( employee_id,'.implode( ',', $idList ).')' );
You have javascript disabled. You will not be able to edit any code.