RE: [PHP] UNUSUAL PROBLEM WHEN WRITING TO THE SCREEN
| From: | Jake McHenry | Date: | Tue, 23 Dec 2003 02:04:17 +0000 |
| Subject: | RE: [PHP] UNUSUAL PROBLEM WHEN WRITING TO THE SCREEN | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173219@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Dale Hersh [mailto:dalehersh@hotmail.com]
> Sent: Monday, December 22, 2003 8:34 PM
> To: php-general@lists.php.net
> Subject: [PHP] UNUSUAL PROBLEM WHEN WRITING TO THE SCREEN
>
>
> For some reason when I echo data from my database, I can't
> display anything longer than 255 chars. As far as I can see,
> tt has nothing to do with my database. Is there something in
> the php.ini that limits how many chars you can write to the
> screen per variable.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
It has to be the field length of your database. PHP has no limitations
like this that I have heard of or encountered. If it's a mysql
database, check to see what type of field it is: TINYTEXT, TEXT,
MEDIUMTEXT, or LONGTEXT; or perhaps TINYBLOB, BLOB, MEDIUMBLOB, or
LONGBLOB. The limits on the field sizes are as follows:
TINYTEXT maximum length of 255
TEXT maximum length of 65535
MEDIUMTEXT maximum length of 16777215
LONGTEXT maximum length of 4294967295
Thanks,
Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com