Welcome Guest, Not a member yet? Register   Sign In
Is there a bug in field_data() and max_length for string types?
#1

[eluser]Unknown[/eluser]
The max_length apparently maxes out at 7 for string fields.
Code:
$query = $this->db->query(...);
$fields = $query->field_data();
print_r($fields);
The string fields max_length items are correct if they are declared in my database as char(x) where x is less than 7, but incorrect if over seven. I haven't tried this with varchars.

I'm using version 1.6.1 and MySQL.


Messages In This Thread
Is there a bug in field_data() and max_length for string types? - by El Forum - 05-14-2008, 11:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB