cvs: phpdoc /en/reference/mysql/functions mysql-field-len.xml

From: Date: Wed, 30 Mar 2005 19:23:52 +0000
Subject: cvs: phpdoc /en/reference/mysql/functions mysql-field-len.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969367165@lists.php.net to get a copy of this message
philip Wed Mar 30 14:23:52 2005 EDT Modified files: /phpdoc/en/reference/mysql/functions mysql-field-len.xml Log: Fix example. http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/functions/mysql-field-len.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/mysql/functions/mysql-field-len.xml diff -u phpdoc/en/reference/mysql/functions/mysql-field-len.xml:1.6 phpdoc/en/reference/mysql/functions/mysql-field-len.xml:1.7 --- phpdoc/en/reference/mysql/functions/mysql-field-len.xml:1.6 Wed Mar 30 01:27:13 2005 +++ phpdoc/en/reference/mysql/functions/mysql-field-len.xml Wed Mar 30 14:23:51 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.17 --> <refentry id="function.mysql-field-len"> <refnamediv> @@ -31,9 +31,9 @@ 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; ?> ]]>

« previous php.doc (#969367165) next »