Re: Random/Odd/Even Listings

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62200
interpreted = N
texte = To clarify this would build it like: 6 items Item1 Item 4 Item2 Item 5 Item 3 Item 6 and for odd numbers like 7 Item1 Item 5 Item2 Item 6 Item 3 Item 7 Item 4 RonnyMc ----- Original Message ----- From: "WebDna @ Inkblot Media" To: "WebDNA Talk" Sent: Monday, June 13, 2005 10:33 AM Subject: Re: Random/Odd/Even Listings > Just in case you decide to go down the page instead. > > [search] > [text]break=[math]ceil([numfound]/2)[/math][/text] > > [founditems] > item > [showif [index]=[break]] > > [/showif] > [/founditems] > > [/search] > > ----- Original Message ----- > From: "Jesse Proudman" > To: "WebDNA Talk" > Sent: Monday, June 13, 2005 10:21 AM > Subject: Re: Random/Odd/Even Listings > > >> Just so I understand, you want: >> >> Item 1 Item 2 >> Item 3 Item 4 >> Item 5 Item 6 >> >> If so, then do: >> >> >> [founditems] >> Item [index]: [sku] >> [showif [index]\2][/showif] >> [/founditems] >> >> >> >> On Jun 13, 2005, at 8:50 AM, Ki Il Song wrote: >> >>> I'm trying to list products in my database in two columns. I was >>> thinking >>> maybe the first column would have odd numbered listings, starting at 1 >>> and >>> the second column would have even numbered listings, starting at 2. >>> >>> Here is a sample search that I am trying to do: >>> >>> [search >>> db=^db/ >>> products.db&max=[m]&[srch]&pricetype=num&asSKUsort=1&eqWWWNEWONWEBdat >>> arq%3Dt] >>> >>> How can I accomplish this using a 2 column table? >>> >>> >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >>> >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>> >>> >> -- >> >> Jesse Proudman >> Blue Box Group, LLC >> >> p. +1.800.613.4305 x801 >> e. jesse@blueboxgrp.com >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Random/Odd/Even Listings ( "WebDna @ Inkblot Media" 2005)
  2. Re: Random/Odd/Even Listings ( "WebDna @ Inkblot Media" 2005)
  3. Re: Random/Odd/Even Listings ( Jesse Proudman 2005)
  4. Random/Odd/Even Listings ( Ki Il Song 2005)
To clarify this would build it like: 6 items Item1 Item 4 Item2 Item 5 Item 3 Item 6 and for odd numbers like 7 Item1 Item 5 Item2 Item 6 Item 3 Item 7 Item 4 RonnyMc ----- Original Message ----- From: "WebDna @ Inkblot Media" To: "WebDNA Talk" Sent: Monday, June 13, 2005 10:33 AM Subject: Re: Random/Odd/Even Listings > Just in case you decide to go down the page instead. > > [search] > [text]break=[math]ceil([numfound]/2)[/math][/text] > > [founditems] > item > [showif [index]=[break]] > > [/showif] > [/founditems] > > [/search] > > ----- Original Message ----- > From: "Jesse Proudman" > To: "WebDNA Talk" > Sent: Monday, June 13, 2005 10:21 AM > Subject: Re: Random/Odd/Even Listings > > >> Just so I understand, you want: >> >> Item 1 Item 2 >> Item 3 Item 4 >> Item 5 Item 6 >> >> If so, then do: >> >> >> [founditems] >> Item [index]: [sku] >> [showif [index]\2][/showif] >> [/founditems] >> >> >> >> On Jun 13, 2005, at 8:50 AM, Ki Il Song wrote: >> >>> I'm trying to list products in my database in two columns. I was >>> thinking >>> maybe the first column would have odd numbered listings, starting at 1 >>> and >>> the second column would have even numbered listings, starting at 2. >>> >>> Here is a sample search that I am trying to do: >>> >>> [search >>> db=^db/ >>> products.db&max=[m]&[srch]&pricetype=num&asSKUsort=1&eqWWWNEWONWEBdat >>> arq%3Dt] >>> >>> How can I accomplish this using a 2 column table? >>> >>> >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >>> >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>> >>> >> -- >> >> Jesse Proudman >> Blue Box Group, LLC >> >> p. +1.800.613.4305 x801 >> e. jesse@blueboxgrp.com >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ "WebDna @ Inkblot Media"

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:

Calculating Standard Deviation (2005) WebCat b13 CGI -shownext- (1997) WebCat, sudo and ImageMagick (2002) Dieresis in [sendmail] (1999) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Include Files (1998) For those of you not on the WebCatalog Beta... (1997) Third try - Looking for a Programmer (2004) Old code new problem? (2004) Can this be done? (1997) French Webcat User (2002) Date Calulation (1997) WebCatalog 4 Install Problems - Not Answered ?? (2000) I got caught! (2003) Need a better [elapsedtime] (2000) MetaKW tags from databases (2006) No Data Results (1997) change the number format (1997) Out of the woodwork (2007) RE: Explorer oddities (1997)