search for: fetchrow

Displaying 4 results from an estimated 4 matches for "fetchrow".

2006 Apr 15
1
Begin with Autocompleter
...qword''] ) ? trim ( rtrim ( $_POST[''qword''] ) ) : null; if ( $query != null ){ $db->Execute(" SELECT * FROM table WHERE field LIKE ''%". $query ."%'' ") or die($db->ErrorMsg()); $elements = array(); while ( $record = $db->fetchRow() ){ $elements[] = $record; } return $elements; } else { return 0; } ?> Now in line 30 is suppose that the result must be return to original page and assign this to DIV element. See the Autocompleter doc''s I found this: <input type="text" id="autocomplete&...
2009 May 09
1
Incompatible changes to asterisk 1.6 MYSQL addon query syntax
...nything? exten => 888,1,MYSQL(Connect connid localhost ipcontact passwd ipcontact) exten => 888,n,GotoIf($["${connid}" = ""]?error,1) exten => 888,n,MYSQL(Query resultid ${connid} SELECT\ `number`\ FROM\ `phones`\ WHERE\ `channel`=\'${chan}\') exten => 888,n(fetchrow),MYSQL(Fetch *foundRow* ${resultid} number) /; fetch row/ exten => 888,n,*GotoIf($["${foundRow}" = "1"]?done)* /; leave loop if no row found/ exten => 888,n,NoOp(${number}) exten => 888,n,*Goto(fetchrow)* /; continue loop if row found/ exten => 888,n(done),MYSQL(Clea...
2009 Aug 06
2
robots.txt
Hi all, I have again noticed that the wiki does not really show up in search results and wonder if it has any impact that robots.txt on wiki.centos.org is empty. Perhaps it should at least contain User-agent: * ? Best Regards Marcus
2008 Sep 26
0
PRI TE110P Configuration (Solved)
...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) ; continue loop if row found > > ext...