Banner DNA
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13807
interpreted = N
texte = I am attempting to write some WebDNA to handle a simple banner ad setup,and for some reason it isn't working.Here is my code:[search db=/nnm/Ads/Ads.db&eqRecordNumberdata=[random]] [founditems]
| [/founditems] [/search]The database called Ads.db looks like this:RecordNumber Path Filename1 ../Ads/ ccc.gif2 ../Ads/ gsopen.swf3 ../Ads/ nnm.gif. . .. . .. . .98 ../Ads/ testbanner.gif99 ../Ads/ testbanner.gif100 ../Ads/ testbanner.gifI don't get any error messages, it just doesn't seem to process. I havereplaced the [random] tag with a hard coded number, at that doesn'twork.I have hard coded the [Path][Filename] tags with ../Ads/ccm.gif andthis does work. So I believe the problem is in the WebDNA code. Can anyone see what I'm doing wrong?Thanks for your help,Duane NeedhamNeedham New Media
Associated Messages, from the most recent to the oldest:
I am attempting to write some WebDNA to handle a simple banner ad setup,and for some reason it isn't working.Here is my code:[search db=/nnm/Ads/Ads.db&eqRecordNumberdata=
[random]]
[founditems] | [/founditems] [/search]The database called Ads.db looks like this:RecordNumber Path Filename1 ../Ads/ ccc.gif2 ../Ads/ gsopen.swf3 ../Ads/ nnm.gif. . .. . .. . .98 ../Ads/ testbanner.gif99 ../Ads/ testbanner.gif100 ../Ads/ testbanner.gifI don't get any error messages, it just doesn't seem to process. I havereplaced the
[random] tag with a hard coded number, at that doesn'twork.I have hard coded the [Path][Filename] tags with ../Ads/ccm.gif andthis does work. So I believe the problem is in the WebDNA code. Can anyone see what I'm doing wrong?Thanks for your help,Duane NeedhamNeedham New Media
Duane Needham
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
How can I Add several Items into the cart at once? (1997)
Include a big block of text (1997)
Balancing randomness (2000)
Some Advise needed (1997)
ooops...WebCatalog [FoundItems] Problem - LONG - (1997)
PCS Emailer's role ? (1997)
Why are some admin pages not encrypted? (2000)
Any problems with Welcome & WebCat? (2000)
PCS Frames (1997)
Help! WebCat2 bug (1997)
Mac Vs WindowsNT (1997)
[ShowCart] and GET vs. POST (1997)
Webmerchant -> MacAuthorize ... please retry ? (1997)
searching by date range help needed (1997)
WYSIWYG Entry of text fields (2001)
Newbie Tax Question (1997)
RE: OK, here goes... (1997)
emailer settings and control questions (1997)
webdna dreamweaver extension (2003)
Help name our technology! (1997)