Re: [WebDNA] Text Variable in Search

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105378
interpreted = N
texte =
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
sg= bc cebu <sgbccebu@gmail.com> wrote:
> Had difficulty of pulling a text variable via a
>database.
>=
> 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[/tex= t]
>
>
> [search db=3Dinc/content.db&geSKUdata=3D0&SKUsort=3D1]
> [founditem= s]
>
> [[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= problem is when [SlideShow] tells "YES".
> It will appear "[Yes]" on the page instead of "Rocku"
&= gt;
> Thanks

=A0 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)
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
sg= bc cebu <sgbccebu@gmail.com> wrote:
> Had difficulty of pulling a text variable via a
>database.
>=
> 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[/tex= t]
>
>
> [search db=3Dinc/content.db&geSKUdata=3D0&SKUsort=3D1]
> [founditem= s]
>
> [[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= problem is when [SlideShow] tells "YES".
> It will appear "[Yes]" on the page instead of "Rocku"
&= gt;
> Thanks

=A0 "Terry Wilson"

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:

ShowIf inside formulas (1997) 2.0 Info (1997) Search results templates (1996) Field name-subcategory (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Frames and WebCat (1997) [math] storage of variables (1997) Next X hits (1996) text size limitation (1997) test -please ignore (2000) Firesite cache vs webcat cache (1997) A Global Variable (1997) Misc Stuff That Might Help (1997) Price override (2004) Big Databases (1997) Tax Troubles (2003) Country & Ship-to address & other fields ? (1997) RAM variables (1997) E-mailer error codes (1997) syntax question, not in online refernce (1997)