[SR-Users] avp_db_load() & fetch attribute ....

arun Jayaprakash jayaprakasharun at yahoo.com
Mon Apr 28 00:12:30 CEST 2014


Can someone let me know how I can fetch an attribute depending on the value of two columns. For eg, in my usr_preference table I have 3 columns; 

username, domain, attribute. 

I need to fetch the attribute if the username = $ru and domain= $rd. Can someone let me know how this can be done, thanks.

Arun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140427/2d5b6e2d/attachment.html>


More information about the sr-users mailing list