Ok so I'm a MySql newbie.
I have a DB that I need to pull out only selected username(s) that end on
secected pattern(s).
Original Query all usernames.
$q = "select $cols from RADONLINE $orderby";
Query a selected realm ie. us******@domain1.com
$q = "select $cols from RADONLINE WHERE 1 AND `USERNAME` LIKE '%domain1.com'
$orderby";
OK so how can I modify my query to query a subset of realms. I have multiple
domain names and I need to pull only selected domain names from the table.
can I do something like USERNAME LIKE @domain.com OR @2nd-domain.net
Greg