diff --git a/reference/mysql/functions/mysql-field-len.xml b/reference/mysql/functions/mysql-field-len.xml index e8cd504139..2333a068b4 100644 --- a/reference/mysql/functions/mysql-field-len.xml +++ b/reference/mysql/functions/mysql-field-len.xml @@ -1,5 +1,5 @@ - + @@ -31,9 +31,9 @@ if (!$result) { exit; } -// Will get the length of the value in email so for example -// user@example.com would give us a length of 16 -$length = mysql_field_len($result, 'email'); +// Will get the length of the id field as specified in the database +// schema. +$length = mysql_field_len($result, 0); echo $length; ?> ]]>