Re: posting information from a textarea

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux