How to get rid of very long search strings
numero = 50[text]blah=[lookup etc...][/text][text]blahblah=[lookup etc...][/text][search db=some.db&[!] [/!]eqFIELDNAMEdatarq=[url][blah][/url]&[!] [/!]geFIELDNAME2datarq=[url][blahblah][/url]&[!] [/!]FIELDNAME2type=num&[!] [/!]asFIELDNAME2sort=1&[!] [/!]etc[!] [/!]] [founditems][fields_from_found_records] [/founditems][/search]Lookup your variables beforehand, then feed them into your search for cleaner, easier to read code. I also use the comment tags ([!] and [/!]) to hide linebreaks in order to make the search string easier to read.
[text]blah=[lookup etc...][/text]
[text]blahblah=[lookup etc...][/text]
[search db=some.db&[!]
[/!]eqFIELDNAMEdatarq=[url][blah][/url]&[!]
[/!]geFIELDNAME2datarq=[url][blahblah][/url]&[!]
[/!]FIELDNAME2type=num&[!]
[/!]asFIELDNAME2sort=1&[!]
[/!]etc[!]
[/!]]
[founditems]
[fields_from_found_records]
[/founditems]
[/search]
DOWNLOAD WEBDNA NOW!
BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...
Tips and TricksA list of user-submitted tips ...
WebDNA LibrariesA list of available libraries for WebDNA...
WebDNA ModulesA list of the currently available modules...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
F.A.QA compilation of some user's questions...
How to get rid of very long search strings...
Write Once Use ManyReuse the same code over and over again on your site with the [include] context...
Check the Federal Government's Social Security databaseThe script on the page will check the federal government's social security database...
Export data to ExcelHere's a handy way to export your data to a text or Excel file...
How to keep the text variable after a function has finishedBy default...
How to create a RSS feedHow to create a RSS feed from yourdatabase on formation...