[ic] query tag usage

Kevin Walsh interchange-users@icdevgroup.org
Tue Jun 10 02:02:00 2003


> 
> I'm trying to do use the query tag in IC 4.9.7 to pull some data from a 
> MySQL 4.1 database, and haven't gotten too far.  The following code:
> 
> ----------------------------------------
>     [query
>     		sql="select * FROM nc_authorarticle where articleID = '31'"
> 		type=list
> 		list=1
> 		more=1
> 		ml=100
> 		st=db
>        ]
>        [on_match]
>          Match:[sql-field authorDisplay] [sql-field articleID] 
> [sql-field authorship]<br>
>        [/on_match]
>     [/query]
>
Change your [on-match]...[/on-match] to [list]...[/list].

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/