[OpenSIPS-Users] How to fetch more than one row from a query

Eli Hayun elihay at savion.huji.ac.il
Mon Jun 22 09:17:56 CEST 2009


I have the following query :
avp_db_load("$ruri/username","$avp(s:callfwd)")

that returns more than one row. My questions are:
1) How to get the number of rows
2) How to fetch them one by one

I tried to use : $avp(s:callfwd[1]) but with no success

Thanks
Eli




More information about the Users mailing list