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. Is there an
advantage to using a text file? 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.
.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.