DataBlade Technology for Web Development
By Chris Trueman, June 01, 1997
DataBlade modules extend the general-purpose capabilities of the Informix server. To illustrate how you can use the Informix Universal Server and DataBlades, Chris develops a document search engine that can be used on any Internet/intranet where documents are shared.
Dr. Dobb's Sourcebook May/June 1997: DataBlade Technology for Web Development
DataBlade Technology for Web Development
By Chris Trueman
Dr. Dobb's Sourcebook May/June 1997
<CENTER>
<TABLE WIDTH=75% BORDER=1 CELLSPACING=3>
<TR>
<TH>Document Title</TH>
<TH>Occurrences</TH>
</TR>
<?MISQL SQL=" select GetDocText(doc), title, Occurrences(doc, $keywords) where Contains(doc, $keywords);">
<TR>
<TD>$2</TD>
<TD>$2</TD>
</TR>
<?/MISQL>
</TABLE>
</CENTER>
Example 1: Query and formatting.