Re: [CART] inside a [LOOP]
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11430
interpreted = N
texte = >Is there a way to assign a unique cart# to each record added with an >[append] inside of a [loop] context? Just using id=[cart] results in >multiple records with the same cart#. Right now I am using>>id=[math][cart]*[random][/math]Try id=[cart][index]That will stick an ever-increasing number onto the end of whatever the cart is (the [index] value comes from your [loop] context)Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>Is there a way to assign a unique cart# to each record added with an >
[append] inside of a
[loop] context? Just using id=
[cart] results in >multiple records with the same cart#. Right now I am using>>id=
[math][cart]*
[random][/math]Try id=
[cart][index]That will stick an ever-increasing number onto the end of whatever the cart is (the [index] value comes from your
[loop] context)Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
[WebDNA] No more SQL in 7.1? (2012)
Date sorting (1997)
Redirect (2003)
Dreamweaver MX (again) (2002)
Replacing a variable within a variable. (1998)
Javascript Stored in a Database (2003)
Semi-OT: Update forms not working remotely (2002)
restarting service remotely on NT (1997)
Too Much Rootbeer Free Offer (1997)
Fun with dates (1997)
The old multiple selection bit (2000)
Nested tags count question (1997)
Searching for (field1 OR field2) AND field3 (2000)
Re:trouble (1997)
[OT] Linux -> Winderz (2005)
[WebDNA] Emailer & SMTP (2009)
[ShowNext] feature in 2.0 (1997)
UPDATE PROBLEM (1997)
Running _every_ page through WebCat ? (1997)
OT : Best book for OSX (2002)