cvs: phpdoc /en/faq using.xml

From: Date: Wed, 03 Oct 2001 19:16:08 +0000
Subject: cvs: phpdoc /en/faq using.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969337838@lists.php.net to get a copy of this message
joey Wed Oct 3 15:16:08 2001 EDT Modified files: /phpdoc/en/faq using.xml Log: Correct a typo (user note LetoPimp@hotmail.com) Index: phpdoc/en/faq/using.xml diff -u phpdoc/en/faq/using.xml:1.7 phpdoc/en/faq/using.xml:1.8 --- phpdoc/en/faq/using.xml:1.7 Sun Sep 30 14:36:39 2001 +++ phpdoc/en/faq/using.xml Wed Oct 3 15:16:08 2001 @@ -1,5 +1,5 @@ <?xml encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <chapter id="faq.using"> <title>Using PHP</title> <titleabbrev>Using PHP</titleabbrev> @@ -339,7 +339,7 @@ </programlisting> This tells PHP to treat <varname>var</varname> as an array and each assignment of a value to var[] adds an item to the array. The first item becomes - <varname>$var[0]</varname>, the next <varname>$var[0]</varname>, etc. + <varname>$var[0]</varname>, the next <varname>$var[1]</varname>, etc. The <function>count</function> function can be used to determine how many options were selected, and the <function>sort</function> function can be used to sort the option array if necessary.

« previous php.doc (#969337838) next »