Technical References - [lookup]

[lookup db=databasePath&[!]
[/!]value=searchValue&[!]
[/!]lookInField=searchField&[!]
[/!]returnField=fieldName&[!]
[/!]notFound=TextIfNotFound]


There is no need to close this tag: it will be directly replaced by the result



Using [lookup] in your template performs an extremely fast search through the specified database and returns either the value of the returnField in the found record, or the literal text of the notFound value. The search is a case-sensitive, exact match, so "Grant" does not equal "grant." If you want more control over the search criteria, use a [search] context instead.

You can specifiy a WebDNA table, in place of a db file.
For example: [Lookup table=TableName&...].



[lookup] is about 40 times faster than [search]. Using several [lookup] to recover data from your bases might be faster than a single [search]


DOWNLOAD WEBDNA NOW!

Top Articles:

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

Download WebDNA Applications

WebDNA applications...

WebDNA Modules

A list of the currently available modules...

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

WebDNA reference

A list of all WebDNA instructions...

Related Readings:

[founditems]

[founditems]...

[sendmail]

There is hardly a website that doesn't at some point need to send an email...

Web Hosting Control Panels and WebDNA

Web Hosting Control Panels are becoming prevelant in the industry...

[deletefile]

Deleting a file from your website...

[exclusivelock]

Prevents other threads from simultaneously accessing a group of databases...

[input]

[url]...