> Unfortunately I am not much of a programmer .

Ok... but you know SQL right? Which is why i'm suggesting to do the comparison 
in the SQL database.

> Therefore if you can put
> some examples / pointers based on my requirement, it will be a
> headstart for me .

http://dev.mysql.com/doc/refman/5.0/en/comparisons-using-subqueries.html

Use SELECT COUNT(*) for the outer query and then compare that value in unlang.

-Arran

Arran Cudbard-Bell
a.cudba...@freeradius.org

RADIUS - Half the complexity of Diameter


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to