Re: [WebDNA] Text Variable in Search

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105379
interpreted = N
texte = --001636310789af9f9904899b693a Content-Type: text/plain; charset=ISO-8859-1 Thanks! Just got it working the way I wanted! http://catherinejames.bravehost.com/ On Mon, Jun 21, 2010 at 5:15 AM, Terry Wilson wrote: > To do this, you need to use [interpet] like so: > > [interpret][[slideshow]][/interpret] > > This will first evaluate [slideshow]. If that value is 'yes' then interpret > [yes], so the result would be RockU > > Terry > > > > On Mon, 21 Jun 2010 04:29:37 +0800 > sgbc cebu wrote: > > Had difficulty of pulling a text variable via a > >database. > > > > Please consider this code: > > > > ================================= > > > > [text]YES=RockU[/text] > > > > > > [search db=inc/content.db&geSKUdata=0&SKUsort=1] > > [founditems] > > > > [[Slideshow]] > > > > [/founditems] > > [/search] > > > > ================================= > > > > Where [SlideShow] either will get a YES or a NO from > >database. > > > > The problem is when [SlideShow] tells "YES". > > It will appear "[Yes]" on the page instead of "Rocku" > > > > Thanks > > > --001636310789af9f9904899b693a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks! Just got it working the way I wanted!

http://catherinejames.bravehost.com/

=
On Mon, Jun 21, 2010 at 5:15 AM, Terry Wilson <terry@terryfic.co= m> wrote:
To do this, you need to use [interpet] like so:

[interpret][[slid= eshow]][/interpret]

= This will first evaluate [slideshow]. If that value is 'yes' then interpret [yes], so the result would be RockU

Terry



On Mon, 21 Jun= 2010 04:29:37 +0800
sgbc cebu <sgbc= cebu@gmail.com> wrote:
> Had difficulty of pulling a text variable via a
>database.
> <= br>> Please consider this code:
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> [text]YES=3DRockU[/text]=
>
>
> [search db=3Dinc/content.db&geSKUdata=3D0&SKUsort=3D1]
> [founditems]=
>
> [[Slideshow]]
>
> [/founditems]
> [/search]
>
> =3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>
> Where [SlideShow] either will get a YES or a NO from
>database.
>
> The p= roblem is when [SlideShow] tells "YES".
> It will appear "[Yes]" on the page inste= ad of "Rocku"
>
> Thanks

=A0

--001636310789af9f9904899b693a-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Text Variable in Search (sgbc cebu 2010)
  2. Re: [WebDNA] Text Variable in Search ("Terry Wilson" 2010)
  3. Re: [WebDNA] Text Variable in Search ("Dan Strong" 2010)
  4. Re: [WebDNA] Text Variable in Search ("Dan Strong" 2010)
  5. [WebDNA] Text Variable in Search (sgbc cebu 2010)
--001636310789af9f9904899b693a Content-Type: text/plain; charset=ISO-8859-1 Thanks! Just got it working the way I wanted! http://catherinejames.bravehost.com/ On Mon, Jun 21, 2010 at 5:15 AM, Terry Wilson wrote: > To do this, you need to use [interpet] like so: > > [interpret][[slideshow]][/interpret] > > This will first evaluate [slideshow]. If that value is 'yes' then interpret > [yes], so the result would be RockU > > Terry > > > > On Mon, 21 Jun 2010 04:29:37 +0800 > sgbc cebu wrote: > > Had difficulty of pulling a text variable via a > >database. > > > > Please consider this code: > > > > ================================= > > > > [text]YES=RockU[/text] > > > > > > [search db=inc/content.db&geSKUdata=0&SKUsort=1] > > [founditems] > > > > [[Slideshow]] > > > > [/founditems] > > [/search] > > > > ================================= > > > > Where [SlideShow] either will get a YES or a NO from > >database. > > > > The problem is when [SlideShow] tells "YES". > > It will appear "[Yes]" on the page instead of "Rocku" > > > > Thanks > > > --001636310789af9f9904899b693a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks! Just got it working the way I wanted!

http://catherinejames.bravehost.com/

=
On Mon, Jun 21, 2010 at 5:15 AM, Terry Wilson <terry@terryfic.co= m> wrote:
To do this, you need to use [interpet] like so:

[interpret][[slid= eshow]][/interpret]

= This will first evaluate [slideshow]. If that value is 'yes' then interpret [yes], so the result would be RockU

Terry



On Mon, 21 Jun= 2010 04:29:37 +0800
sgbc cebu <sgbc= cebu@gmail.com> wrote:
> Had difficulty of pulling a text variable via a
>database.
> <= br>> Please consider this code:
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> [text]YES=3DRockU[/text]=
>
>
> [search db=3Dinc/content.db&geSKUdata=3D0&SKUsort=3D1]
> [founditems]=
>
> [[Slideshow]]
>
> [/founditems]
> [/search]
>
> =3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>
> Where [SlideShow] either will get a YES or a NO from
>database.
>
> The p= roblem is when [SlideShow] tells "YES".
> It will appear "[Yes]" on the page inste= ad of "Rocku"
>
> Thanks

=A0

--001636310789af9f9904899b693a-- sgbc cebu

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:

RE: Major Security Hole IIS NT (1998) t or f (1997) [accountNum] and [math] (1997) How To question on setting up downloads (1997) WebCommerce: Folder organization ? (1997) help (2001) Apple event reply error (-1) (1997) would this be a good use of [spawn]? (2002) two unique banners on one page (1997) Adding up line items. (2000) ODBC-Interface (2000) WebCatalog security on NT (2000) [OT] Appropriate Signature??? (2003) WebMerchant 1.6 and SHTML (1997) Getting total number of items ordered (1997) Date Formats (1997) Satisfy Me ! (2000) Help w/Multi User Admins (1997) [cart] (1998) Highlighting words found in a keyword search (2003)