473,387 Members | 1,550 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

text too large?

hi all,

My problem: when inserting a large text (from a textarea) into the database
it just wont happen. When the text is somewhat smaller no problem occurs.
The large text is about 100 lines * 60 characters (not that big at all). The
field I insert is a TEXT type so that couldn't be the problem.

Someone can help me out?

kind regards
Stijn
Jul 17 '05 #1
3 2544
"Stijn Goris" <me*****@hotmail.com> wrote in message
news:Ho*********************@phobos.telenet-ops.be...
hi all,

My problem: when inserting a large text (from a textarea) into the database it just wont happen. When the text is somewhat smaller no problem occurs.
The large text is about 100 lines * 60 characters (not that big at all). The field I insert is a TEXT type so that couldn't be the problem.

Someone can help me out?

kind regards
Stijn


What exactly is your problem? After inserting the text, is it cutoff at a
certain point in the database? The length of the TEXT field in the database
is also important, make sure there isn't a specified length.
--
Sharif Tanvir Karim
http://www.onlyonxbox.net
Jul 17 '05 #2
Stijn Goris wrote:
hi all,

My problem: when inserting a large text (from a textarea) into the database
it just wont happen. When the text is somewhat smaller no problem occurs.
The large text is about 100 lines * 60 characters (not that big at all). The
field I insert is a TEXT type so that couldn't be the problem.


Which database are you using?
What error messages do you get from the database?

What's the maximum length of a TEXT column type in the database you're
using? In MySQL it's "a maximum length of 65535 (2^16 - 1) characters"
according to <http://www.mysql.com/doc/en/Column_types.html>.
Matthias

Jul 17 '05 #3

"Stijn Goris" <me*****@hotmail.com> wrote in message
news:Ho*********************@phobos.telenet-ops.be...
hi all,

My problem: when inserting a large text (from a textarea) into the database it just wont happen. When the text is somewhat smaller no problem occurs.
The large text is about 100 lines * 60 characters (not that big at all). The field I insert is a TEXT type so that couldn't be the problem.

Someone can help me out?

kind regards
Stijn


addslash() did the job. Query was blokked when ' was read
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Michi | last post by:
I was wondering what the best solution is for making large numbers of TEXT (or BLOB?) fields searchable. For example, if I have a forum, what is the best way to be able to search for specific...
9
by: Jonathan Joseph | last post by:
I have a laptop with a very high pixel density (1920x1200) in a 15.5" monitor. Therfore, in my web browser (Mozilla) I set the minimum and default font sizes I want to see to be 24 pixels. ...
8
by: Chris Beall | last post by:
I'm struggling with how to handle, on a web page, images that contain text that the user must be able to read. Examples: tombstone photos, photos or scans of historic documents (handwritten or...
0
by: Thomas Zimmermann | last post by:
Hi I have an Accesss 97 database that imports data from an Oracle database. Some of the text fileds in the oreacle database have a fileds size larger than 255 characters. If I just link the...
2
by: Dennis C. Drumm | last post by:
What is the best way to add several pages of text to a readonly TextBox? The text does not change and was created in a Word rtf document but could as easly be put in a ASCII text file. Can this be...
6
by: Rod Snyder | last post by:
I'm trying to set up an asp.net (vb.net) that will allow a user to insert/update a bio/profile. I wanted to create a SQL Server 2000 table that includes their contact info and bio info. However,...
5
by: soup_nazi | last post by:
I want to remove duplicate entries within a text file. So if I had this within a text file... Applications/Diabetic Registry/ Applications/Diabetic Registry/ Applications/Diabetic Registry/...
13
by: JJ | last post by:
I have a need to input a large tab delimited text file, which I will parse to check it has the expected columns, before allowing the user to submit it to the database. The user may paste the file...
7
by: shivapadma | last post by:
I want explanation for CLOB datafield 1.I created clobtable with the query create table clobexample(id number,text CLOB); 2.I tried to insert very large text by the following query insert...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.