anita999 Posted April 10, 2007 Share Posted April 10, 2007 I have a form which has the following part defined: <tr> <td> Description</td> <td><textarea name="mydescription" cols="50" rows="5"> <?php echo $fields[mydescription]?></textarea></td> </tr> Now, when I enter in some sentences into the textarea, and do a submit, I then extract the value and insert into the mysql db. The field in the DB is defined as a longtext. The problem is that this seems to only work if my sentence has about 15 words (approx 2 rows). If I go beyond 15 words, it won't store it. I don't seem to be getting any errors output either. I was thinking that perhaps the form itself is causing the issue since when entering in the data, it does a wrap around. Note if I do 15 words or less, it is stored properly in the DB. Any ideas on how this should be done? Thanks Link to comment https://forums.phpfreaks.com/topic/46391-storing-longtext-in-mysql-using-form-field-is-not-working/ Share on other sites More sharing options...
MadTechie Posted April 10, 2007 Share Posted April 10, 2007 wrong section i think.. move to MySQL Link to comment https://forums.phpfreaks.com/topic/46391-storing-longtext-in-mysql-using-form-field-is-not-working/#findComment-225651 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.