$stmt = "SELECT * FROM teamnew WHERE lastname REGEXP '^$1|^$2|^$3' ORDER BY lastname";