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:
HELP! 10K hits per hour for pages that no longer exist! (2000) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) Off Topic: Help Wanted (1997) [WebDNA] Crashing Database (2011) Webmin (was: on a related topic) (2006) WebDNA-Talk Digests (1997) [PHP3] php vs WebCatalog (2000) WebCat2 several catalogs? (1997) New Mac Public Beta Available (1997) Help formatting search results w/ table (1997) Listfiles and nothing found (2001) FTP (1999) unable to launch acgi in WebCat (1997) WebDNA 5.1/Apache 2 (2003) Online reference (1997) WebDNA Developer Edition - Host config problem (2003) [WebDNA] AutoFill Drop Down Menu (2009) TeaRoom Order fields email account remain empty even though thewy are filled. (1997) Some Questions (1997) WebCat 3 & Aliases (2000)