Re: [PHP-DB] posting information from a textarea

2006-07-06 Thread Dave W

The inputs are posting, but the textarea still isn't. Argh!

On 7/6/06, Brad Bonkoski <[EMAIL PROTECTED]> wrote:


stripslashes should not be needed...

if anything addslashes() may be needed if you have single quotes in the
text area.
I would say step 1 is to echo out your insert query to the page before
you even excute the insert, to verify the query, and that you are
getting the proper information from the form.
-B

Dave W wrote:

> I seem to be having a problem posting text from a text area. I have a
> form
> that posts data into a database and there are input fields which seem to

> post the data fine. I know this because the entry is changing in the
> database, but the text area text doesn't seem to be posting. I double
> checked to make sure i got the names right, but it still doesn't seem
> to be
> working. Before I put it into the database I'm using stripslashes. I
> thought
> that might of been the problem and I changed it to trim, but that didn't
> work. In the database, the field that I'm putting it into is a
> longtext type
> with fulltext.
>





--
Dave W


Re: [PHP-DB] posting information from a textarea

2006-07-06 Thread Brad Bonkoski

stripslashes should not be needed...

if anything addslashes() may be needed if you have single quotes in the 
text area.
I would say step 1 is to echo out your insert query to the page before 
you even excute the insert, to verify the query, and that you are 
getting the proper information from the form.

-B

Dave W wrote:

I seem to be having a problem posting text from a text area. I have a 
form

that posts data into a database and there are input fields which seem to
post the data fine. I know this because the entry is changing in the
database, but the text area text doesn't seem to be posting. I double
checked to make sure i got the names right, but it still doesn't seem 
to be
working. Before I put it into the database I'm using stripslashes. I 
thought

that might of been the problem and I changed it to trim, but that didn't
work. In the database, the field that I'm putting it into is a 
longtext type

with fulltext.



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] posting information from a textarea

2006-07-06 Thread Dave W

I seem to be having a problem posting text from a text area. I have a form
that posts data into a database and there are input fields which seem to
post the data fine. I know this because the entry is changing in the
database, but the text area text doesn't seem to be posting. I double
checked to make sure i got the names right, but it still doesn't seem to be
working. Before I put it into the database I'm using stripslashes. I thought
that might of been the problem and I changed it to trim, but that didn't
work. In the database, the field that I'm putting it into is a longtext type
with fulltext.

--
Dave W