Jump to content

ECHO not displaying long table data.


imran0092

Recommended Posts

Hi everyone

 

Problem

 

I am re-writing a website which was created in coldfusion.  All the data is stored in MS SQL tables.  The contents are long, some of them are over 8000 chars in a field.  You migh be saying that Ms SQL can not store more than 8000 characters in a field, but in my case, it does.

 

The Problem is when i read the data from the table and print it using "echo" or "print" etc, it doesnt display the full text.  So, if the text is 10,000 chars, it displays like 5000 chars only.  This is my problem.  I have checked all sql query and its perfect. 

 

Echo can print text no matter how long it is, BUT when i read the data from a table, it doesnt display all of it.

 

In coldfusion, the full text is displayed but not in PHP.  The text is html like <p> etc. it works fine in coldfusion.

 

Please Help

.....if you know the answer, please mail me at "[email protected]" too. Thanks in advance

 

Link to comment
https://forums.phpfreaks.com/topic/70534-echo-not-displaying-long-table-data/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.