Forums
This topic is locked
i can't input lots of text into mysql using form!
Posted 14 Oct 2004 17:26:08
1
has voted
14 Oct 2004 17:26:08 Geofrey Biggins posted:
Hi, can anyone tell me why i can't input a page of text into my sql database using a form in dreamweaver. It seems to cut me off after a set amount. ive set the table columns to a blob and text with no luck and the form has no set limit as far as i am aware. Am i doing something completely wrong as iam new to php/mysql. Replies
Replied 20 Oct 2004 12:26:22
20 Oct 2004 12:26:22 Stefan P replied:
"If you assign a value to a BLOB or TEXT column that exceeds the column type's maximum length, the value is truncated to fit." a quote from the following web page:
dev.mysql.com/doc/mysql/en/BLOB.html
Perhaps this page will help.
Also, make sure your form method set to POST?
DMX | ASP | VBScript | ACCESS | SQL Server | IIS5
Edited by - sesame on 29 Oct 2004 13:22:37
dev.mysql.com/doc/mysql/en/BLOB.html
Perhaps this page will help.
Also, make sure your form method set to POST?
DMX | ASP | VBScript | ACCESS | SQL Server | IIS5
Edited by - sesame on 29 Oct 2004 13:22:37
Replied 20 Oct 2004 18:37:30
20 Oct 2004 18:37:30 Geofrey Biggins replied:
Thanks, ive checked and the form is set to post. I read the suggested page but didn't quite understand it all. If i have set my field in my table to 'text' it should allow loads of text to be inserted, shouldn't it?. I haven't set the text area to a maximum length in my form. Your help is much appreciated.
Replied 29 Oct 2004 12:59:13
29 Oct 2004 12:59:13 Janusz Jasinski replied: