To do this, you need to use [interpet]like so:[interpret][[slid=eshow]][/interpret]=This will first evaluate [slideshow]. If thatvalue is 'yes' then interpret [yes], so the result would be RockU=div>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]=
>
>
> [searchdb=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:
--001636310789af9f9904899b693aContent-Type: text/plain; charset=ISO-8859-1Thanks! Just got it working the way I wanted!http://catherinejames.bravehost.com/On Mon, Jun 21, 2010 at 5:15 AM, Terry Wilson
- Re: [WebDNA] Text Variable in Search (sgbc cebu
2010) - Re: [WebDNA] Text Variable in Search ("Terry Wilson"
2010) - Re: [WebDNA] Text Variable in Search ("Dan Strong"
2010) - Re: [WebDNA] Text Variable in Search ("Dan Strong"
2010) - [WebDNA] Text Variable in Search (sgbc cebu
2010) 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>>>--001636310789af9f9904899b693aContent-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: quoted-printableThanks! 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 thatvalue is 'yes' then interpret [yes], so the result would be RockU=div>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]=
>
>
> [searchdb=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:
Carts & Refering URLs (1997) WebDNA SpeedTest Update (2006) syntax question, not in online refernce (1997) WebCatalog for Postcards ? (1997) Double postings (2000) Authenticate (1997) WebCat2 - [format thousands] (1997) authenticating a second user (1997) [SHOWIF AND/OR] (1997) [WebDNA] [announce] MacWorld SF Jan. '09 (2008) lookups or math? (1998) Error message (1999) Extracting a Word (2000) Re[2]: Enhancement Request for WebCatalog-NT (1996) [WebDNA] Help with ReplaceFoundItems (2009) Searchable WebCat (etc.) Docs ? (1997) [append] and SSL (1997) Stumpted Again (1997) WebCatalog 4 Install Problems - Not Answered ?? (2000) Problem when Inputing text (1999)