pear/Config/README.Config
| From: | Fulvio Picecchi | Date: | Wed, 08 Aug 2001 16:01:35 +0000 |
| Subject: | pear/Config/README.Config | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-1319@lists.php.net to get a copy of this message | ||
the example provided didn't work for me. I just made this chages and it
worked. hope it is useful. from file 'pear/Config/README.Config':
Line 20
--- $data = $array() ; // contains all key-value-pairs
+++ $data = array() ; // contains all key-value-pairs
Line 40
--- foreach( $data as $d) {
+++ while (list($n, $d) = each ($data)) {
Line 41
--- echo "<tr><td colspan=\"2\">Block: $d</td></tr>\n" ;
+++ echo "<tr><td colspan=\"2\">Block: $n</td></tr>\n" ;
Fulvio Picecchi