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:

[WebDNA] Email Log.txt (2014) MacActivity and PCS (1997) OT: ImageMagick maps (2003) Banners and sort of random display (1997) Date Formats (1997) ASP and WebDNA (1998) E-mail loop ! (1997) hiding blank fields (2003) ImageMagick (2005) List of WebDNA users (2002) Single Link browsing (1997) OT: FTP problems (2003) Likelihood of a duplicate (Palle you around?) (2005) emailer on Windows Beta 18 (1997) Bug or syntax error on my part? (1997) Auto Delete EmailCompleted Files (2002) ODBC problems between webcat and filemaker pro (2001) getting images' width/height (1998) price totals (2003) WebCat2b15MacPlugin - showing [math] (1997)