At 02:59 PM 5/2/00 -0400, you wrote:
>I fixed the <textarea> update problem .. it helps to have something in the
>database before you try to update it ;)
>
> > I am wondering why you have a table with only one field and only one row.
> > It seems rather strange, like maybe you should be saving the info as a
>text
> > file or something.
>
>Hmmm .. interesting point. I am setting up a 'small' backend area for a web
>site where the client can update/manage some of their own stuff without
>having to bother us .. a la Spectra, just without the overkill. It just so
>happens that this one page only has 1 updateable text area.
Are there other pages with updateable text areas that go to other tables?
If so, maybe you should try to standardize them and put them in one table.
> Is there an
>advantage to using a text file?
Well, if it is saved as a text file, the file would be included instead of
the server having to make a trip to the database. It seems like including a
text file would take less time that going to the database and then
including the same information. I could be wrong, but it seems like that
should be true. Some people prefer to save all bulky text items in a text
file, but I'm not sure what the performance difference would be.
> Which would be more efficient, using the
>database to track changes to the entire site, or text files? There are some
>areas where text files just won't work .. like the 'news' and 'product
>catalog' sections.
If you have several news and product entries (and poor them if they don't
have more than one product entry...) it may be easiest on you to put them
in a database. I think you could technically save your news to text files,
but you'd have to set up delimiters and parse them and all sorts of icky
stuff. It would be a pain in the butt, if not resource hoggy.
>.Todd
>
>----- Original Message -----
>From: "Jennifer" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, May 02, 2000 2:08 PM
>Subject: Re: probs. inserting <textarea> into database
>
>
> > At 01:26 PM 5/2/00 -0400, you wrote:
> > >The info is just not going to the database .. it's the strangest thing.
> > >
> > >I don't need a WHERE clause because I only have 1 field in 1 row and
>that's
> > >all there will ever be.
> >
> > I'm not sure that any database would do this, but it might require a where
> > clause as a way to make sure that you don't overwrite more than you want
>to
> > overwrite.
> >
> > Are you getting the textarea contents as a form-scope variable? I have had
> > a problem with Internet Explorer sending form fields as URL variables. If
> > this were happening to you, form.txtTextArea would not be defined, so the
> > query would never be performed. If you have the server debugging output,
> > you can check to make sure that the information is being sent in
>form-scope.
> >
> > I am wondering why you have a table with only one field and only one row.
> > It seems rather strange, like maybe you should be saving the info as a
>text
> > file or something.
> >
> >
> > >.Todd
> > >
> > >----- Original Message -----
> > >From: "Jennifer" <[EMAIL PROTECTED]>
> > >To: <[EMAIL PROTECTED]>
> > >Sent: Tuesday, May 02, 2000 12:13 PM
> > >Subject: Re: probs. inserting <textarea> into database
> > >
> > >
> > > > Are you getting an error message or is the info just not going to the
> > >database?
> > > >
> > > > I hope you realize that you have no where clause in your cfquery, so
>it
> > > > should be updating every row.
> > >
> > >
> >
> >---------------------------------------------------------------------------
>---
> > >Archives: http://www.eGroups.com/list/cf-talk
> > >To Unsubscribe visit
> > >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
>or
> > >send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> > >the body.
> >
> > --------------------------------------------------------------------------
>----
> > Archives: http://www.eGroups.com/list/cf-talk
> > To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in
>the body.
> >
>
>
>------------------------------------------------------------------------------
>Archives: http://www.eGroups.com/list/cf-talk
>To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in
>the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.