OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: mysql domain lookups

From: Dick Middleton (dickfouter.net)
Date: Tue Sep 04 2007 - 05:26:15 CDT


mouss wrote:
> no need for REGEXP.
>
> query = SELECT helo FROM country WHERE
> substring_index('%s', '.', -1) = code
>

That's tons better isn't it!

Cheers

Dick