search for: cidarea

Displaying 1 result from an estimated 1 matches for "cidarea".

2008 Sep 26
0
PRI TE110P Configuration (Solved)
...ut issuing a separate loop thru a result set. Is there any way > anyone knows of to output the number of rows a mysql query returned. > > > > Aka > > .. > > exten => 1,n,MYSQL(Query resultid ${connid} SELECT\ `State`\ FROM\ > `AreaCodes`\ WHERE\ `AreaCode`=\'${CIDArea}\') > > exten => 1,n(fetchrow),MYSQL(Fetch foundRow ${resultid} number) ; fetch row > > exten => 1,n,GotoIf($["${foundRow}" = "1"]?done) ; leave loop if no row > found > > exten => 1,n,Set(State=${State}) > > exten => 1,n,Goto(fetchrow)...