Page 1 of 1

save a file content

Posted: Fri Aug 29, 2003 7:37 am
by yaron
I'm trying to store in mysql db an html file's content.
what I'm doing is turn the file into array (line by line) and then implode it to a string with a special delimiter.
The field type is text but the file is big nothing happends and the big string does not go in the db.
is there a limit for the field TEXT?

Posted: Fri Aug 29, 2003 10:10 am
by liljester
how big is the file? php limits file upload size in the php.ini. also do you get any mysql errors?

Posted: Fri Aug 29, 2003 10:16 am
by JAM
You could read more here too:
http://www.mysql.com/doc/en/Column_types.html