Skip to content
 

Bug with PHP 5.3 and MySQLi Stmt

After recently upgrading to PHP 5.3, the news posts on my old webpage (http://www.duelingmonkeys.com) were being truncated to a maximum of 256 characters.  To make a long story short, it appears that prepared statements with the mysqli extension were only allowing 256 characters when pulling data, even if the field type is text.

I should do my duty and file a bug report, but I need to do some more experimentation and see if it happens only with SELECT statements or also with INSERT/UPDATE statements.  For now, I’m getting around this by dropping the prepared statement.

FYI.

Leave a Reply