fixed asterisk search for php