|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-04-25 13:43 UTC] rasmus@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 08:00:01 2025 UTC |
mysql_field_len on a decimal field only report the length before the dot: create table articles ( articleid int(11) primary key auto_increment, price decimal (9,2) ); mysql_field_len on the field decimal returns a 9. I think it should be a 12 (9 before, 2 after and 1 for the point)?