Re: QuickForm & DB problem updating record with tinytext fiel
| From: | Justin Patrin | Date: | Sat, 18 Nov 2006 17:27:23 +0000 |
| Subject: | Re: QuickForm & DB problem updating record with tinytext fiel | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25876@lists.php.net to get a copy of this message | ||
On 11/18/06, l Burnerheimerton <lburnerheimerton@yahoo.com> wrote:
I have a database field that is tinytext. I use db prepare & execute commands to update the record. I verify, using print_r($values) in the process_data funtion of Quickform, that more than 255 characters are sent to a particular field in the prepare/execute statements. However, only 255 cahracters are being entered in the table. I recently upgraded to PHP4.4.4 from 4.1 and to MySQL 4.1 from 3.23. However, tinytext field type is/was on both tables. Any ideas what the problem is?That you're using a tinytext field. http://www.phpfreaks.com/mysqlref/30.php -- Justin Patrin