SChaput
11-24-2008, 01:16 AM
I am using a simple weblog script found here
http://www.wsworkshop.com/php/php-mysql-weblog.html
I have modified much of it to fit my needs, i have 6 fields in my database. There fields are filled from my forum with
3 hiddenfields,
a radio button,
a drop down menu,
and a textarea. Most of the time i am able to add this information into the database without a problem, however, if my textarea is too long it is unable to add it, and errors.
All of my database fields are set to 'text' with no length value, i am just not sure why it errors if the textarea is too filled.
Example:
Misleading people into thinking he wasn't coming back tonight. This line of code throws an error.
However,
Misleading people.
Does not throw the error.
Any advice? If you need any more information id be happy to submit it.
THank you.
http://www.wsworkshop.com/php/php-mysql-weblog.html
I have modified much of it to fit my needs, i have 6 fields in my database. There fields are filled from my forum with
3 hiddenfields,
a radio button,
a drop down menu,
and a textarea. Most of the time i am able to add this information into the database without a problem, however, if my textarea is too long it is unable to add it, and errors.
All of my database fields are set to 'text' with no length value, i am just not sure why it errors if the textarea is too filled.
Example:
Misleading people into thinking he wasn't coming back tonight. This line of code throws an error.
However,
Misleading people.
Does not throw the error.
Any advice? If you need any more information id be happy to submit it.
THank you.