> -----Original Message----- > From: Dale Hersh [mailto:[EMAIL PROTECTED] > Sent: Monday, December 22, 2003 8:34 PM > To: [EMAIL PROTECTED] > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php