[ic] Arbitrary table listings via [page] tag

interchange-users@icdevgroup.org interchange-users@icdevgroup.org
Sat Aug 31 11:37:01 2002


Quoting Richard Eddy (reddy@iinet.net.au):
> My MySQL database contains an arbitrary table called "ecomposers" containing
> a list of composers with two fields, code and composer.
> 
> I can display a list of the entries in the composer field beginning with "B"
> using a loop within a page such as:
> 
> [loop search="
>          fi=ecomposers
>          ac=yes
>          bs=yes
>          st=db
>          sf=composer
>          se=B
>          su=yes
>          ra=yes
>          rf=all
>          tf=composer
>          "]
>      [page scan 	... ][loop-data ecomposers composer][/page]<BR>
> [/loop]
> 
> However, no matter what code I put within the
> [search-region]...[/search-region] tags on page "test.html" I cannot
> generate a similar list with:
> 
> [page scan
> 	fi=ecomposers
> 	ac=yes
> 	bs=yes
> 	st=db
> 	sf=composer
> 	se=B
> 	su=yes
> 	ra=yes
> 	rf=all
> 	tf=composer
> 	sp=test
> 	]My link
> [/page]
> 
> which generates:
> 
> .../cgi-bin/buywellic2/scan/fi=ecomposers/ac=yes/bs=yes/st=db/sf=composer/se
> =B/su=yes/ra=yes/rf=all/tf=composer/sp=test.html
> 

Remove the "ra=yes".

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.513.523.7621      <mike@perusion.com>

I have a cop friend who thinks he ought be able to give a new ticket;
"too dumb for conditions".