Re: Database Not Found Problem

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55837
interpreted = N
texte = I can and did at first. The problem is what it's returning. Say there's = no such item in a db for the variable I passed. The I would set intError = to equal 1. This makes intError 1 in every include on the page. = Therefore all five banner spots are broke. That's just one of the = problems I had with the include way. The most controlled way, I believe, = is with an iFrame because every source is unique. Justin Carroll On Tuesday, March 23, 1943, Dan Strong = wrote: >Why not [include] what you need 5 times and pass unique variables to it = each time? >[include file=3Dyourpage.tpl&unique_variable=3Dwhatever] > >-Dan >------------------------------------------------------------ >http://www.StrongGraphicDesign.com >http://www.SearchBoise.com >------------------------------------------------------------ > > > >On 02 Feb 2004 12:16:12 -0500 > Justin Carroll wrote: >>That's a good idea. I'm making a banner rotator. The reason >I chose to do this with iFrames is=20 >>because if I [include] the engine say five times on one page, >they will all share the same error=20 >>checking variables. With the iFrame, the src is completely >unique from the next iFrame on the=20 >>page. >> >>The engine basically pull the correct banner and then updates >that banners page views variable.=20 >> Let me know your thoughts. Thanks. >> >>Justin Carroll >> >>On Tuesday, March 23, 1943, John Peacock wrote: >>>Justin Carroll wrote: >>> >>>> My big assumption is that it's exactly what I had first thought. The = two >>>> [replace] statments are butting heads with each other on the inside. = Any >>>> other suggestions? >>> >>>Don't try and use two [replace] contexts from the same set of pages? = Tell us=20 >>>why you want to have the two frames both updating the same database, = rather than=20 >>>making us figure out how to do it so that it doesn't conflict. There = may be a=20 >>>better way to accomplish your real goal... >>> >>>John >>> >>>--=20 >>>John Peacock >>>Director of Information Research and Technology >>>Rowman & Littlefield Publishing Group >>>4501 Forbes Boulevard >>>Suite H >>>Lanham, MD 20706 >>>301-459-3366 x.5010 >>>fax 301-429-5748 > >------------------------------------------------------------- >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: Database Not Found Problem ( Justin Carroll 2004)
  2. Re: Database Not Found Problem ( John Peacock 2004)
  3. Re: Database Not Found Problem ( Justin Carroll 2004)
  4. Re: Database Not Found Problem ( Justin Carroll 2004)
  5. Re: Database Not Found Problem ( John Peacock 2004)
  6. Re: Database Not Found Problem ( "Dan Strong" 2004)
  7. Re: Database Not Found Problem ( Justin Carroll 2004)
  8. Re: Database Not Found Problem ( "Dan Strong" 2004)
  9. Re: Database Not Found Problem ( Justin Carroll 2004)
  10. Re: Database Not Found Problem ( Justin Carroll 2004)
  11. Re: Database Not Found Problem ( John Peacock 2004)
  12. Re: Database Not Found Problem ( Justin Carroll 2004)
  13. Re: Database Not Found Problem ( Alex McCombie 2004)
  14. Re: Database Not Found Problem ( "Dan Strong" 2004)
  15. Re: Database Not Found Problem ( Justin Carroll 2004)
  16. Re: Database Not Found Problem ( Jesse Proudman 2004)
  17. Database Not Found Problem ( Justin Carroll 2004)
I can and did at first. The problem is what it's returning. Say there's = no such item in a db for the variable I passed. The I would set intError = to equal 1. This makes intError 1 in every include on the page. = Therefore all five banner spots are broke. That's just one of the = problems I had with the include way. The most controlled way, I believe, = is with an iFrame because every source is unique. Justin Carroll On Tuesday, March 23, 1943, Dan Strong = wrote: >Why not [include] what you need 5 times and pass unique variables to it = each time? >[include file=3Dyourpage.tpl&unique_variable=3Dwhatever] > >-Dan >------------------------------------------------------------ >http://www.StrongGraphicDesign.com >http://www.SearchBoise.com >------------------------------------------------------------ > > > >On 02 Feb 2004 12:16:12 -0500 > Justin Carroll wrote: >>That's a good idea. I'm making a banner rotator. The reason >I chose to do this with iFrames is=20 >>because if I [include] the engine say five times on one page, >they will all share the same error=20 >>checking variables. With the iFrame, the src is completely >unique from the next iFrame on the=20 >>page. >> >>The engine basically pull the correct banner and then updates >that banners page views variable.=20 >> Let me know your thoughts. Thanks. >> >>Justin Carroll >> >>On Tuesday, March 23, 1943, John Peacock wrote: >>>Justin Carroll wrote: >>> >>>> My big assumption is that it's exactly what I had first thought. The = two >>>> [replace] statments are butting heads with each other on the inside. = Any >>>> other suggestions? >>> >>>Don't try and use two [replace] contexts from the same set of pages? = Tell us=20 >>>why you want to have the two frames both updating the same database, = rather than=20 >>>making us figure out how to do it so that it doesn't conflict. There = may be a=20 >>>better way to accomplish your real goal... >>> >>>John >>> >>>--=20 >>>John Peacock >>>Director of Information Research and Technology >>>Rowman & Littlefield Publishing Group >>>4501 Forbes Boulevard >>>Suite H >>>Lanham, MD 20706 >>>301-459-3366 x.5010 >>>fax 301-429-5748 > >------------------------------------------------------------- >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/ Justin Carroll

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: [WebDNA] Sorry WebDNA server not running /Template ERROR/ Slow (2019) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) problems with WebCat-Plugin () Help! WebCat2 bug (1997) inconsistent webcat calculation? (1997) error (2000) [date] insanity! (2001) OFF-TOPIC: Check www.godaddy.com for me ... (2003) Orders coming up blank (2004) old 3.0 mac license for sale? (2003) WebDelivery: One step closer !! (1997) IOD | WAS:[Show items based on login Password] (2003) RE: E-mail formating queston (1999) Nesting Search Within Tag? (1997) Running 2 two WebCatalog.acgi's (1996) RE: Emailer prefs in two places ... (1997) Last Record not recognized? (1999) access denied problem (1997) Errata: WCS Newbie question (1997) [WebDNA] remove preceding zero (2016)